Searched refs:port_to (Results 1 – 8 of 8) sorted by relevance
| /Linux-v5.4/net/netfilter/ipset/ |
| D | ip_set_hash_ipport.c | 111 u32 ip, ip_to = 0, p = 0, port, port_to; in hash_ipport4_uadt() local 168 port_to = port = ntohs(e.port); in hash_ipport4_uadt() 170 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipport4_uadt() 171 if (port > port_to) in hash_ipport4_uadt() 172 swap(port, port_to); in hash_ipport4_uadt() 180 for (; p <= port_to; p++) { in hash_ipport4_uadt() 269 u32 port, port_to; in hash_ipport6_uadt() local 318 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipport6_uadt() 319 if (port > port_to) in hash_ipport6_uadt() 320 swap(port, port_to); in hash_ipport6_uadt() [all …]
|
| D | ip_set_hash_ipportip.c | 114 u32 ip, ip_to = 0, p = 0, port, port_to; in hash_ipportip4_uadt() local 175 port_to = port = ntohs(e.port); in hash_ipportip4_uadt() 177 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipportip4_uadt() 178 if (port > port_to) in hash_ipportip4_uadt() 179 swap(port, port_to); in hash_ipportip4_uadt() 187 for (; p <= port_to; p++) { in hash_ipportip4_uadt() 280 u32 port, port_to; in hash_ipportip6_uadt() local 333 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipportip6_uadt() 334 if (port > port_to) in hash_ipportip6_uadt() 335 swap(port, port_to); in hash_ipportip6_uadt() [all …]
|
| D | ip_set_hash_netport.c | 160 u32 port, port_to, p = 0, ip = 0, ip_to = 0; in hash_netport4_uadt() local 220 port = port_to = ntohs(e.port); in hash_netport4_uadt() 222 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_netport4_uadt() 223 if (port_to < port) in hash_netport4_uadt() 224 swap(port, port_to); in hash_netport4_uadt() 248 for (; p <= port_to; p++) { in hash_netport4_uadt() 376 u32 port, port_to; in hash_netport6_uadt() local 437 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_netport6_uadt() 438 if (port > port_to) in hash_netport6_uadt() 439 swap(port, port_to); in hash_netport6_uadt() [all …]
|
| D | ip_set_bitmap_port.c | 134 u16 port_to; in bitmap_port_uadt() local 157 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in bitmap_port_uadt() 158 if (port > port_to) { in bitmap_port_uadt() 159 swap(port, port_to); in bitmap_port_uadt() 164 port_to = port; in bitmap_port_uadt() 167 if (port_to > map->last_port) in bitmap_port_uadt() 170 for (; port <= port_to; port++) { in bitmap_port_uadt()
|
| D | ip_set_hash_ipportnet.c | 166 u32 ip = 0, ip_to = 0, p = 0, port, port_to; in hash_ipportnet4_uadt() local 248 port_to = port = ntohs(e.port); in hash_ipportnet4_uadt() 250 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipportnet4_uadt() 251 if (port > port_to) in hash_ipportnet4_uadt() 252 swap(port, port_to); in hash_ipportnet4_uadt() 278 for (; p <= port_to; p++) { in hash_ipportnet4_uadt() 417 u32 port, port_to; in hash_ipportnet6_uadt() local 489 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipportnet6_uadt() 490 if (port > port_to) in hash_ipportnet6_uadt() 491 swap(port, port_to); in hash_ipportnet6_uadt() [all …]
|
| D | ip_set_hash_netportnet.c | 183 u32 ip = 0, ip_to = 0, p = 0, port, port_to; in hash_netportnet4_uadt() local 267 port_to = port = ntohs(e.port); in hash_netportnet4_uadt() 269 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_netportnet4_uadt() 270 if (port > port_to) in hash_netportnet4_uadt() 271 swap(port, port_to); in hash_netportnet4_uadt() 299 for (; p <= port_to; p++) { in hash_netportnet4_uadt() 462 u32 port, port_to; in hash_netportnet6_uadt() local 534 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_netportnet6_uadt() 535 if (port > port_to) in hash_netportnet6_uadt() 536 swap(port, port_to); in hash_netportnet6_uadt() [all …]
|
| /Linux-v5.4/include/uapi/linux/ |
| D | ax25.h | 114 ax25_address port_to; member
|
| /Linux-v5.4/net/ax25/ |
| D | ax25_dev.c | 147 if ((fwd_dev = ax25_addr_ax25dev(&fwd->port_to)) == NULL) in ax25_fwd_ioctl()
|