git: inet: Refactor in_pcbbind() for IP_SENDSRCADDR support.

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Tue Nov 24 07:18:39 PST 2020


commit d21f76c5783754080abe7369ba0a245ac4b9f85a
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Tue Nov 24 22:50:27 2020 +0800

    inet: Refactor in_pcbbind() for IP_SENDSRCADDR support.
    
    The newly factored out function will be used to validate address
    passed through IP_SENDSRCADDR cmsg.

Summary of changes:
 sys/netinet/in_pcb.c | 151 ++++++++++++++++++++++++++++++++-------------------
 1 file changed, 94 insertions(+), 57 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d21f76c5783754080abe7369ba0a245ac4b9f85a


-- 
DragonFly BSD source repository


More information about the Commits mailing list