Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/net/netfilter/ipset/
H A Dip_set_hash_ipport.c111 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()
175 if (((u64)ip_to - ip + 1)*(port_to - port + 1) > IPSET_MAX_RANGE) in hash_ipport4_uadt()
183 for (; p <= port_to; p++) { in hash_ipport4_uadt()
272 u32 port, port_to; in hash_ipport6_uadt() local
321 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipport6_uadt()
322 if (port > port_to) in hash_ipport6_uadt()
[all …]
H A Dip_set_hash_ipportip.c114 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()
182 if (((u64)ip_to - ip + 1)*(port_to - port + 1) > IPSET_MAX_RANGE) in hash_ipportip4_uadt()
190 for (; p <= port_to; p++) { in hash_ipportip4_uadt()
283 u32 port, port_to; in hash_ipportip6_uadt() local
336 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipportip6_uadt()
337 if (port > port_to) in hash_ipportip6_uadt()
[all …]
H A Dip_set_hash_netport.c160 u32 port, port_to, p = 0, ip = 0, ip_to = 0, ipn; 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()
244 if (n*(port_to - port + 1) > IPSET_MAX_RANGE) in hash_netport4_uadt()
257 for (; p <= port_to; p++) { in hash_netport4_uadt()
385 u32 port, port_to; in hash_netport6_uadt() local
446 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_netport6_uadt()
447 if (port > port_to) in hash_netport6_uadt()
[all …]
H A Dip_set_hash_ipportnet.c166 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()
255 if (((u64)ip_to - ip + 1)*(port_to - port + 1) > IPSET_MAX_RANGE) in hash_ipportnet4_uadt()
281 for (; p <= port_to; p++) { in hash_ipportnet4_uadt()
420 u32 port, port_to; in hash_ipportnet6_uadt() local
492 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_ipportnet6_uadt()
493 if (port > port_to) in hash_ipportnet6_uadt()
[all …]
H A 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()
H A Dip_set_hash_netportnet.c183 u32 ip = 0, ip_to = 0, 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()
298 if (n*m*(port_to - port + 1) > IPSET_MAX_RANGE) in hash_netportnet4_uadt()
313 for (; p <= port_to; p++) { in hash_netportnet4_uadt()
476 u32 port, port_to; in hash_netportnet6_uadt() local
548 port_to = ip_set_get_h16(tb[IPSET_ATTR_PORT_TO]); in hash_netportnet6_uadt()
549 if (port > port_to) in hash_netportnet6_uadt()
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dax25.h114 ax25_address port_to; member
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dax25.h114 ax25_address port_to; member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dax25.h114 ax25_address port_to; member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/netax25/
H A Dax25.h126 ax25_address port_to; member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/netax25/
H A Dax25.h126 ax25_address port_to; member
/OK3568_Linux_fs/kernel/net/ax25/
H A Dax25_dev.c153 fwd_dev = ax25_addr_ax25dev(&fwd->port_to); in ax25_fwd_ioctl()