Searched refs:port_to (Results 1 – 8 of 8) sorted by relevance
/linux/net/netfilter/ipset/ |
A D | ip_set_hash_ipport.c | 112 u32 ip, ip_to = 0, p = 0, port, port_to; 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() 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 …]
|
A D | ip_set_hash_ipportip.c | 115 u32 ip, ip_to = 0, p = 0, port, port_to; 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() 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 …]
|
A D | ip_set_hash_netport.c | 161 u32 port, port_to, p = 0, ip = 0, ip_to = 0, ipn; in hash_netport4_uadt() local 222 port = port_to = ntohs(e.port); in hash_netport4_uadt() 224 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_netport4_uadt() 225 if (port_to < port) in hash_netport4_uadt() 226 swap(port, port_to); in hash_netport4_uadt() 245 if (n*(port_to - port + 1) > IPSET_MAX_RANGE) in hash_netport4_uadt() 258 for (; p <= port_to; p++) { in hash_netport4_uadt() 386 u32 port, port_to; in hash_netport6_uadt() local 448 if (port > port_to) in hash_netport6_uadt() 449 swap(port, port_to); in hash_netport6_uadt() [all …]
|
A D | ip_set_hash_ipportnet.c | 167 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() 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 …]
|
A D | ip_set_bitmap_port.c | 161 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()
|
A D | ip_set_hash_netportnet.c | 184 u32 ip = 0, ip_to = 0, p = 0, port, port_to; in hash_netportnet4_uadt() local 269 port_to = port = ntohs(e.port); in hash_netportnet4_uadt() 271 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_netportnet4_uadt() 272 if (port > port_to) in hash_netportnet4_uadt() 273 swap(port, port_to); in hash_netportnet4_uadt() 299 if (n*m*(port_to - port + 1) > IPSET_MAX_RANGE) in hash_netportnet4_uadt() 314 for (; p <= port_to; p++) { in hash_netportnet4_uadt() 477 u32 port, port_to; in hash_netportnet6_uadt() local 550 if (port > port_to) in hash_netportnet6_uadt() 551 swap(port, port_to); in hash_netportnet6_uadt() [all …]
|
/linux/include/uapi/linux/ |
A D | ax25.h | 114 ax25_address port_to; member
|
/linux/net/ax25/ |
A D | ax25_dev.c | 147 if ((fwd_dev = ax25_addr_ax25dev(&fwd->port_to)) == NULL) in ax25_fwd_ioctl()
|
Completed in 13 milliseconds