/kernel/linux/linux-5.10/drivers/soc/atmel/ |
D | soc.c | 156 static int __init at91_get_cidr_exid_from_dbgu(u32 *cidr, u32 *exid) in at91_get_cidr_exid_from_dbgu() 184 static int __init at91_get_cidr_exid_from_chipid(u32 *cidr, u32 *exid) in at91_get_cidr_exid_from_chipid() 214 u32 cidr, exid; in at91_soc_init() local
|
/kernel/linux/linux-5.10/drivers/net/wireguard/ |
D | allowedips.c | 24 u8 cidr, u8 bits) in copy_and_assign_cidr() 150 u8 cidr, u8 bits, struct allowedips_node **rnode, in node_placement() 182 u8 cidr, struct wg_peer *peer, struct mutex *lock) in add() 282 u8 cidr, struct wg_peer *peer, struct mutex *lock) in wg_allowedips_insert_v4() 293 u8 cidr, struct wg_peer *peer, struct mutex *lock) in wg_allowedips_insert_v6() 343 int wg_allowedips_read_node(struct allowedips_node *node, u8 ip[16], u8 *cidr) in wg_allowedips_read_node()
|
D | netlink.c | 75 static int get_allowedips(struct sk_buff *skb, const u8 *ip, u8 cidr, in get_allowedips() 177 u8 cidr, ip[16] __aligned(__alignof(u64)); in get_peer() local 333 u8 cidr; in set_allowedip() local
|
D | allowedips.h | 18 u8 cidr, bit_at_a, bit_at_b, bitlen; member
|
/kernel/linux/linux-5.10/net/netfilter/ipset/ |
D | ip_set_hash_netport.c | 54 u8 cidr:7; member 90 hash_netport4_data_netmask(struct hash_netport4_elem *elem, u8 cidr) in hash_netport4_data_netmask() 162 u8 cidr; in hash_netport4_uadt() local 271 u8 cidr:7; member 307 hash_netport6_data_netmask(struct hash_netport6_elem *elem, u8 cidr) in hash_netport6_data_netmask() 382 u8 cidr; in hash_netport6_uadt() local
|
D | ip_set_hash_ipportnet.c | 55 u8 cidr:7; member 93 hash_ipportnet4_data_netmask(struct hash_ipportnet4_elem *elem, u8 cidr) in hash_ipportnet4_data_netmask() 169 u8 cidr; in hash_ipportnet4_uadt() local 310 u8 cidr:7; member 348 hash_ipportnet6_data_netmask(struct hash_ipportnet6_elem *elem, u8 cidr) in hash_ipportnet6_data_netmask() 425 u8 cidr; in hash_ipportnet6_uadt() local
|
D | ip_set_hash_netiface.c | 49 u8 cidr; member 58 u8 cidr; member 100 hash_netiface4_data_netmask(struct hash_netiface4_elem *elem, u8 cidr) in hash_netiface4_data_netmask() 284 u8 cidr; member 292 u8 cidr; member 334 hash_netiface6_data_netmask(struct hash_netiface6_elem *elem, u8 cidr) in hash_netiface6_data_netmask()
|
D | ip_set_hash_gen.h | 126 u8 cidr[IPSET_NET_COUNT]; /* the cidr value */ member 148 #define __CIDR(cidr, i) (cidr[i]) argument 150 #define __CIDR(cidr, i) (cidr) argument 154 #define NCIDR_PUT(cidr) ((cidr) + 1) argument 155 #define NCIDR_GET(cidr) ((cidr) - 1) argument 159 #define DCIDR_PUT(cidr) ((cidr) - 1) argument 160 #define DCIDR_GET(cidr, i) (__CIDR(cidr, i) + 1) argument 162 #define DCIDR_PUT(cidr) (cidr) argument 163 #define DCIDR_GET(cidr, i) __CIDR(cidr, i) argument 166 #define INIT_CIDR(cidr, host_mask) \ argument [all …]
|
D | ip_set_hash_net.c | 45 u8 cidr; member 78 hash_net4_data_netmask(struct hash_net4_elem *elem, u8 cidr) in hash_net4_data_netmask() 216 u8 cidr; member 249 hash_net6_data_netmask(struct hash_net6_elem *elem, u8 cidr) in hash_net6_data_netmask()
|
D | ip_set_hash_netportnet.c | 50 u8 cidr[2]; member 98 u8 cidr, bool inner) in hash_netportnet4_data_netmask() 177 hash_netportnet4_range_to_cidr(u32 from, u32 to, u8 *cidr) in hash_netportnet4_range_to_cidr() 341 u8 cidr[2]; member 390 u8 cidr, bool inner) in hash_netportnet6_data_netmask()
|
D | ip_set_hash_netnet.c | 48 u8 cidr[2]; member 90 hash_netnet4_data_netmask(struct hash_netnet4_elem *elem, u8 cidr, bool inner) in hash_netnet4_data_netmask() 283 u8 cidr[2]; member 326 hash_netnet6_data_netmask(struct hash_netnet6_elem *elem, u8 cidr, bool inner) in hash_netnet6_data_netmask()
|
D | pfxlen.c | 172 ip_set_range_to_cidr(u32 from, u32 to, u8 *cidr) in ip_set_range_to_cidr()
|
D | ip_set_hash_ip.c | 140 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ip4_uadt() local 254 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ip6_uadt() local
|
D | ip_set_hash_ipmark.c | 143 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ipmark4_uadt() local 249 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ipmark6_uadt() local
|
D | ip_set_hash_ipportip.c | 168 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ipportip4_uadt() local 298 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ipportip6_uadt() local
|
D | ip_set_hash_ipport.c | 161 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ipport4_uadt() local 287 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ipport6_uadt() local
|
D | ip_set_bitmap_ip.c | 172 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in bitmap_ip_uadt() local 278 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in bitmap_ip_create() local
|
D | ip_set_bitmap_ipmac.c | 342 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in bitmap_ipmac_create() local
|
/kernel/linux/linux-5.10/drivers/net/wireguard/selftest/ |
D | allowedips.c | 106 static __init inline union nf_inet_addr horrible_cidr_to_mask(u8 cidr) in horrible_cidr_to_mask() 182 struct in_addr *ip, u8 cidr, void *value) in horrible_allowedips_insert_v4() 199 struct in6_addr *ip, u8 cidr, void *value) in horrible_allowedips_insert_v6() 256 unsigned int i, j, k, mutate_amount, cidr; in randomized_test() local 460 #define insert(version, mem, ipa, ipb, ipc, ipd, cidr) \ argument 615 u8 cidr, ip[16] __aligned(__alignof(u64)); in wg_allowedips_selftest() local
|
/kernel/linux/linux-5.10/include/linux/netfilter/ipset/ |
D | pfxlen.h | 39 #define ip_set_mask_from_to(from, to, cidr) \ argument
|