Home
last modified time | relevance | path

Searched refs:addrtype (Results 1 – 5 of 5) sorted by relevance

/net/ipv6/
Daddrlabel.c38 int addrtype; member
158 int addrtype, int ifindex) in __ip6addrlbl_match() argument
164 if (p->addrtype && p->addrtype != addrtype) in __ip6addrlbl_match()
209 int addrtype; in ip6addrlbl_alloc() local
214 addrtype = ipv6_addr_type(prefix) & (IPV6_ADDR_MAPPED | IPV6_ADDR_COMPATv4 | IPV6_ADDR_LOOPBACK); in ip6addrlbl_alloc()
216 switch (addrtype) { in ip6addrlbl_alloc()
221 addrtype = 0; in ip6addrlbl_alloc()
225 addrtype = 0; in ip6addrlbl_alloc()
229 addrtype = 0; in ip6addrlbl_alloc()
240 newp->addrtype = addrtype; in ip6addrlbl_alloc()
Dip6_output.c473 int addrtype = ipv6_addr_type(&hdr->saddr); in ip6_forward() local
476 if (addrtype == IPV6_ADDR_ANY || in ip6_forward()
477 addrtype & (IPV6_ADDR_MULTICAST | IPV6_ADDR_LOOPBACK)) in ip6_forward()
479 if (addrtype & IPV6_ADDR_LINKLOCAL) { in ip6_forward()
/net/tipc/
Dsocket.c557 if (addr->addrtype == TIPC_ADDR_NAME) in tipc_bind()
559 else if (addr->addrtype != TIPC_ADDR_NAMESEQ) { in tipc_bind()
611 addr->addrtype = TIPC_ADDR_ID; in tipc_getname()
835 if (unlikely(dest->addrtype == TIPC_ADDR_ID)) in dest_name_check()
934 if (dest->addrtype == TIPC_ADDR_NAME) { in tipc_sendmsg()
945 if (dest->addrtype == TIPC_ADDR_MCAST) { in tipc_sendmsg()
948 } else if (dest->addrtype == TIPC_ADDR_NAME) { in tipc_sendmsg()
966 } else if (dest->addrtype == TIPC_ADDR_ID) { in tipc_sendmsg()
1174 addr->addrtype = TIPC_ADDR_ID; in set_orig_addr()
1857 if (dst->addrtype == TIPC_ADDR_MCAST) { in tipc_connect()
Dsubscr.c62 .addrtype = TIPC_ADDR_NAMESEQ,
/net/netfilter/
DKconfig936 tristate '"addrtype" address type match support'