Home
last modified time | relevance | path

Searched refs:port_to (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/net/netfilter/ipset/
Dip_set_hash_ipport.c115 u32 ip, ip_to = 0, p = 0, port, port_to; in hash_ipport4_uadt() local
172 port_to = port = ntohs(e.port); in hash_ipport4_uadt()
174 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipport4_uadt()
175 if (port > port_to) in hash_ipport4_uadt()
176 swap(port, port_to); in hash_ipport4_uadt()
184 for (; p <= port_to; p++) { in hash_ipport4_uadt()
273 u32 port, port_to; in hash_ipport6_uadt() local
322 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipport6_uadt()
323 if (port > port_to) in hash_ipport6_uadt()
324 swap(port, port_to); in hash_ipport6_uadt()
[all …]
Dip_set_hash_ipportip.c118 u32 ip, ip_to = 0, p = 0, port, port_to; in hash_ipportip4_uadt() local
179 port_to = port = ntohs(e.port); in hash_ipportip4_uadt()
181 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipportip4_uadt()
182 if (port > port_to) in hash_ipportip4_uadt()
183 swap(port, port_to); in hash_ipportip4_uadt()
191 for (; p <= port_to; p++) { in hash_ipportip4_uadt()
284 u32 port, port_to; in hash_ipportip6_uadt() local
337 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipportip6_uadt()
338 if (port > port_to) in hash_ipportip6_uadt()
339 swap(port, port_to); in hash_ipportip6_uadt()
[all …]
Dip_set_hash_netport.c164 u32 port, port_to, p = 0, ip = 0, ip_to = 0; in hash_netport4_uadt() local
224 port = port_to = ntohs(e.port); in hash_netport4_uadt()
226 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_netport4_uadt()
227 if (port_to < port) in hash_netport4_uadt()
228 swap(port, port_to); in hash_netport4_uadt()
252 for (; p <= port_to; p++) { in hash_netport4_uadt()
380 u32 port, port_to; in hash_netport6_uadt() local
441 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_netport6_uadt()
442 if (port > port_to) in hash_netport6_uadt()
443 swap(port, port_to); in hash_netport6_uadt()
[all …]
Dip_set_bitmap_port.c138 u16 port_to; in bitmap_port_uadt() local
161 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in bitmap_port_uadt()
162 if (port > port_to) { in bitmap_port_uadt()
163 swap(port, port_to); in bitmap_port_uadt()
168 port_to = port; in bitmap_port_uadt()
171 if (port_to > map->last_port) in bitmap_port_uadt()
174 for (; port <= port_to; port++) { in bitmap_port_uadt()
Dip_set_hash_ipportnet.c170 u32 ip = 0, ip_to = 0, p = 0, port, port_to; in hash_ipportnet4_uadt() local
252 port_to = port = ntohs(e.port); in hash_ipportnet4_uadt()
254 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipportnet4_uadt()
255 if (port > port_to) in hash_ipportnet4_uadt()
256 swap(port, port_to); in hash_ipportnet4_uadt()
282 for (; p <= port_to; p++) { in hash_ipportnet4_uadt()
421 u32 port, port_to; in hash_ipportnet6_uadt() local
493 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipportnet6_uadt()
494 if (port > port_to) in hash_ipportnet6_uadt()
495 swap(port, port_to); in hash_ipportnet6_uadt()
[all …]
Dip_set_hash_netportnet.c187 u32 ip = 0, ip_to = 0, p = 0, port, port_to; in hash_netportnet4_uadt() local
271 port_to = port = ntohs(e.port); in hash_netportnet4_uadt()
273 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_netportnet4_uadt()
274 if (port > port_to) in hash_netportnet4_uadt()
275 swap(port, port_to); in hash_netportnet4_uadt()
303 for (; p <= port_to; p++) { in hash_netportnet4_uadt()
466 u32 port, port_to; in hash_netportnet6_uadt() local
538 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_netportnet6_uadt()
539 if (port > port_to) in hash_netportnet6_uadt()
540 swap(port, port_to); in hash_netportnet6_uadt()
[all …]
/Linux-v4.19/include/uapi/linux/
Dax25.h114 ax25_address port_to; member
/Linux-v4.19/net/ax25/
Dax25_dev.c148 if ((fwd_dev = ax25_addr_ax25dev(&fwd->port_to)) == NULL) in ax25_fwd_ioctl()