Lines Matching refs:socklen
2029 int socklen = 0; in pfkey_xfrm_policy2msg_size() local
2034 socklen += pfkey_sockaddr_len(t->encap_family); in pfkey_xfrm_policy2msg_size()
2043 (socklen * 2) + in pfkey_xfrm_policy2msg_size()
2072 int socklen = pfkey_sockaddr_len(xp->family); in pfkey_xfrm_policy2msg() local
2160 socklen = pfkey_sockaddr_len(t->encap_family); in pfkey_xfrm_policy2msg()
2161 req_size += socklen * 2; in pfkey_xfrm_policy2msg()
2163 size -= 2*socklen; in pfkey_xfrm_policy2msg()
2186 (struct sockaddr *) (sa + socklen), in pfkey_xfrm_policy2msg()
2473 int af, socklen; in parse_sockaddr_pair() local
2482 socklen = pfkey_sockaddr_len(af); in parse_sockaddr_pair()
2483 if (pfkey_sockaddr_extract((struct sockaddr *) (((u8 *)sa) + socklen), in parse_sockaddr_pair()
3484 int socklen = pfkey_sockaddr_len(family); in set_sadb_kmaddress() local
3497 !pfkey_sockaddr_fill(&k->remote, 0, (struct sockaddr *)(sa+socklen), family)) in set_sadb_kmaddress()
3510 int socklen = pfkey_sockaddr_len(family); in set_ipsecrequest() local
3525 !pfkey_sockaddr_fill(dst, 0, (struct sockaddr *)(sa + socklen), family)) in set_ipsecrequest()