Searched refs:port_to (Results 1 – 8 of 8) sorted by relevance
/linux-4.1.27/net/netfilter/ipset/ |
D | ip_set_hash_ipport.c | 117 u32 ip, ip_to = 0, p = 0, port, port_to; in hash_ipport4_uadt() local 179 port_to = port = ntohs(e.port); in hash_ipport4_uadt() 181 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipport4_uadt() 182 if (port > port_to) in hash_ipport4_uadt() 183 swap(port, port_to); in hash_ipport4_uadt() 191 for (; p <= port_to; p++) { in hash_ipport4_uadt() 284 u32 port, port_to; in hash_ipport6_uadt() local 332 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipport6_uadt() 333 if (port > port_to) in hash_ipport6_uadt() 334 swap(port, port_to); in hash_ipport6_uadt() [all …]
|
D | ip_set_hash_ipportip.c | 119 u32 ip, ip_to = 0, p = 0, port, port_to; in hash_ipportip4_uadt() local 185 port_to = port = ntohs(e.port); in hash_ipportip4_uadt() 187 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipportip4_uadt() 188 if (port > port_to) in hash_ipportip4_uadt() 189 swap(port, port_to); in hash_ipportip4_uadt() 197 for (; p <= port_to; p++) { in hash_ipportip4_uadt() 292 u32 port, port_to; in hash_ipportip6_uadt() local 344 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipportip6_uadt() 345 if (port > port_to) in hash_ipportip6_uadt() 346 swap(port, port_to); in hash_ipportip6_uadt() [all …]
|
D | ip_set_bitmap_port.c | 136 u16 port_to; in bitmap_port_uadt() local 165 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in bitmap_port_uadt() 166 if (port > port_to) { in bitmap_port_uadt() 167 swap(port, port_to); in bitmap_port_uadt() 172 port_to = port; in bitmap_port_uadt() 174 if (port_to > map->last_port) in bitmap_port_uadt() 177 for (; port <= port_to; port++) { in bitmap_port_uadt()
|
D | ip_set_hash_netport.c | 165 u32 port, port_to, p = 0, ip = 0, ip_to = 0, last; in hash_netport4_uadt() local 229 port = port_to = ntohs(e.port); in hash_netport4_uadt() 231 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_netport4_uadt() 232 if (port_to < port) in hash_netport4_uadt() 233 swap(port, port_to); in hash_netport4_uadt() 254 for (; p <= port_to; p++) { in hash_netport4_uadt() 385 u32 port, port_to; in hash_netport6_uadt() local 450 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_netport6_uadt() 451 if (port > port_to) in hash_netport6_uadt() 452 swap(port, port_to); in hash_netport6_uadt() [all …]
|
D | ip_set_hash_ipportnet.c | 171 u32 ip = 0, ip_to = 0, p = 0, port, port_to; in hash_ipportnet4_uadt() local 257 port_to = port = ntohs(e.port); in hash_ipportnet4_uadt() 259 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipportnet4_uadt() 260 if (port > port_to) in hash_ipportnet4_uadt() 261 swap(port, port_to); in hash_ipportnet4_uadt() 282 for (; p <= port_to; p++) { in hash_ipportnet4_uadt() 427 u32 port, port_to; in hash_ipportnet6_uadt() local 499 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipportnet6_uadt() 500 if (port > port_to) in hash_ipportnet6_uadt() 501 swap(port, port_to); in hash_ipportnet6_uadt() [all …]
|
D | ip_set_hash_netportnet.c | 181 u32 ip = 0, ip_to = 0, ip_last, p = 0, port, port_to; in hash_netportnet4_uadt() local 268 port_to = port = ntohs(e.port); in hash_netportnet4_uadt() 270 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_netportnet4_uadt() 271 if (port > port_to) in hash_netportnet4_uadt() 272 swap(port, port_to); in hash_netportnet4_uadt() 296 for (; p <= port_to; p++) { in hash_netportnet4_uadt() 458 u32 port, port_to; in hash_netportnet6_uadt() local 529 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_netportnet6_uadt() 530 if (port > port_to) in hash_netportnet6_uadt() 531 swap(port, port_to); in hash_netportnet6_uadt() [all …]
|
/linux-4.1.27/include/uapi/linux/ |
D | ax25.h | 113 ax25_address port_to; member
|
/linux-4.1.27/net/ax25/ |
D | ax25_dev.c | 148 if ((fwd_dev = ax25_addr_ax25dev(&fwd->port_to)) == NULL) in ax25_fwd_ioctl()
|