Home
last modified time | relevance | path

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

/linux-6.1.9/net/netfilter/ipset/
Dip_set_hash_ipport.c112 u32 ip, ip_to = 0, p = 0, port, port_to, i = 0; in hash_ipport4_uadt() local
169 port_to = port = ntohs(e.port); in hash_ipport4_uadt()
171 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipport4_uadt()
172 if (port > port_to) in hash_ipport4_uadt()
173 swap(port, port_to); in hash_ipport4_uadt()
181 for (; p <= port_to; p++, i++) { in hash_ipport4_uadt()
274 u32 port, port_to; in hash_ipport6_uadt() local
323 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipport6_uadt()
324 if (port > port_to) in hash_ipport6_uadt()
325 swap(port, port_to); in hash_ipport6_uadt()
[all …]
Dip_set_hash_ipportip.c115 u32 ip, ip_to = 0, p = 0, port, port_to, i = 0; in hash_ipportip4_uadt() local
176 port_to = port = ntohs(e.port); in hash_ipportip4_uadt()
178 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipportip4_uadt()
179 if (port > port_to) in hash_ipportip4_uadt()
180 swap(port, port_to); in hash_ipportip4_uadt()
188 for (; p <= port_to; p++, i++) { in hash_ipportip4_uadt()
285 u32 port, port_to; in hash_ipportip6_uadt() local
338 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipportip6_uadt()
339 if (port > port_to) in hash_ipportip6_uadt()
340 swap(port, port_to); in hash_ipportip6_uadt()
[all …]
Dip_set_hash_netport.c161 u32 port, port_to, p = 0, ip = 0, ip_to = 0, i = 0; in hash_netport4_uadt() local
221 port = port_to = ntohs(e.port); in hash_netport4_uadt()
223 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_netport4_uadt()
224 if (port_to < port) in hash_netport4_uadt()
225 swap(port, port_to); in hash_netport4_uadt()
249 for (; p <= port_to; p++, i++) { in hash_netport4_uadt()
381 u32 port, port_to; in hash_netport6_uadt() local
442 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_netport6_uadt()
443 if (port > port_to) in hash_netport6_uadt()
444 swap(port, port_to); in hash_netport6_uadt()
[all …]
Dip_set_bitmap_port.c161 u16 port_to; in bitmap_port_uadt() local
184 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in bitmap_port_uadt()
185 if (port > port_to) { in bitmap_port_uadt()
186 swap(port, port_to); in bitmap_port_uadt()
191 port_to = port; in bitmap_port_uadt()
194 if (port_to > map->last_port) in bitmap_port_uadt()
197 for (; port <= port_to; port++) { in bitmap_port_uadt()
Dip_set_hash_ipportnet.c167 u32 ip = 0, ip_to = 0, p = 0, port, port_to; in hash_ipportnet4_uadt() local
249 port_to = port = ntohs(e.port); in hash_ipportnet4_uadt()
251 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipportnet4_uadt()
252 if (port > port_to) in hash_ipportnet4_uadt()
253 swap(port, port_to); in hash_ipportnet4_uadt()
279 for (; p <= port_to; p++) { in hash_ipportnet4_uadt()
424 u32 port, port_to; in hash_ipportnet6_uadt() local
496 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipportnet6_uadt()
497 if (port > port_to) in hash_ipportnet6_uadt()
498 swap(port, port_to); in hash_ipportnet6_uadt()
[all …]
Dip_set_hash_netportnet.c194 u32 ip = 0, ip_to = 0, p = 0, port, port_to; in hash_netportnet4_uadt() local
278 port_to = port = ntohs(e.port); in hash_netportnet4_uadt()
280 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_netportnet4_uadt()
281 if (port > port_to) in hash_netportnet4_uadt()
282 swap(port, port_to); in hash_netportnet4_uadt()
310 for (; p <= port_to; p++) { in hash_netportnet4_uadt()
479 u32 port, port_to; in hash_netportnet6_uadt() local
551 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_netportnet6_uadt()
552 if (port > port_to) in hash_netportnet6_uadt()
553 swap(port, port_to); in hash_netportnet6_uadt()
[all …]
/linux-6.1.9/include/uapi/linux/
Dax25.h114 ax25_address port_to; member
/linux-6.1.9/net/ax25/
Dax25_dev.c153 fwd_dev = ax25_addr_ax25dev(&fwd->port_to); in ax25_fwd_ioctl()