| /net/ipv6/ |
| A D | ipv6_sockglue.c | 1132 if (np->rxopt.bits.rxinfo) { in do_ipv6_getsockopt() 1141 if (np->rxopt.bits.rxhlim) { in do_ipv6_getsockopt() 1166 if (np->rxopt.bits.rxflow) { in do_ipv6_getsockopt() 1195 val = np->rxopt.bits.rxinfo; in do_ipv6_getsockopt() 1199 val = np->rxopt.bits.rxoinfo; in do_ipv6_getsockopt() 1203 val = np->rxopt.bits.rxhlim; in do_ipv6_getsockopt() 1207 val = np->rxopt.bits.rxohlim; in do_ipv6_getsockopt() 1211 val = np->rxopt.bits.srcrt; in do_ipv6_getsockopt() 1215 val = np->rxopt.bits.osrcrt; in do_ipv6_getsockopt() 1261 val = np->rxopt.bits.rxflow; in do_ipv6_getsockopt() [all …]
|
| A D | datagram.c | 391 if (!np->rxopt.bits.rxpmtu) in ipv6_local_rxpmtu() 601 if (np->rxopt.bits.rxinfo) { in ip6_datagram_recv_common_ctl() 627 if (np->rxopt.bits.rxhlim) { in ip6_datagram_recv_specific_ctl() 632 if (np->rxopt.bits.rxtclass) { in ip6_datagram_recv_specific_ctl() 637 if (np->rxopt.bits.rxflow) { in ip6_datagram_recv_specific_ctl() 650 (np->rxopt.bits.dstopts || np->rxopt.bits.srcrt)) { in ip6_datagram_recv_specific_ctl() 671 if (np->rxopt.bits.dstopts) in ip6_datagram_recv_specific_ctl() 677 if (np->rxopt.bits.srcrt) in ip6_datagram_recv_specific_ctl() 695 if (np->rxopt.bits.rxoinfo) { in ip6_datagram_recv_specific_ctl() 702 if (np->rxopt.bits.rxohlim) { in ip6_datagram_recv_specific_ctl() [all …]
|
| A D | syncookies.c | 209 np->rxopt.bits.rxinfo || np->rxopt.bits.rxoinfo || in cookie_v6_check() 210 np->rxopt.bits.rxhlim || np->rxopt.bits.rxohlim) { in cookie_v6_check()
|
| A D | af_inet6.c | 874 (np->rxopt.bits.hopopts || np->rxopt.bits.ohopopts)) || in ipv6_opt_accepted() 876 np->rxopt.bits.rxflow) || in ipv6_opt_accepted() 877 (opt->srcrt && (np->rxopt.bits.srcrt || in ipv6_opt_accepted() 878 np->rxopt.bits.osrcrt)) || in ipv6_opt_accepted() 880 (np->rxopt.bits.dstopts || np->rxopt.bits.odstopts))) in ipv6_opt_accepted()
|
| A D | tcp_ipv6.c | 814 np->rxopt.bits.rxinfo || in tcp_v6_init_req() 815 np->rxopt.bits.rxoinfo || np->rxopt.bits.rxhlim || in tcp_v6_init_req() 816 np->rxopt.bits.rxohlim || inet6_test_bit(REPFLOW, sk_listener))) { in tcp_v6_init_req() 1705 if (np->rxopt.bits.rxinfo || np->rxopt.bits.rxoinfo) 1707 if (np->rxopt.bits.rxhlim || np->rxopt.bits.rxohlim) 1710 if (np->rxopt.bits.rxflow || np->rxopt.bits.rxtclass)
|
| A D | raw.c | 448 if (np->rxpmtu && np->rxopt.bits.rxpmtu) in rawv6_recvmsg()
|
| A D | udp.c | 482 if (np->rxpmtu && np->rxopt.bits.rxpmtu) in udpv6_recvmsg()
|
| /net/ipv4/ |
| A D | fib_trie.c | 118 #define IS_TNODE(n) ((n)->bits) 119 #define IS_LEAF(n) (!(n)->bits) 140 #define tn_bits kv[0].bits 361 l->bits = 0; in leaf_new() 380 tnode = tnode_alloc(bits); in tnode_new() 387 if (bits == KEYLENGTH) in tnode_new() 395 tn->bits = bits; in tnode_new() 571 if (inode->bits == 1) { in inflate() 1768 if (cindex >> pn->bits) in leaf_walk_rcu() 1852 cindex = 1ul << n->bits; in fib_trie_free() [all …]
|
| A D | inet_diag.c | 639 static int bitstring_match(const __be32 *a1, const __be32 *a2, int bits) in bitstring_match() argument 641 int words = bits >> 5; in bitstring_match() 643 bits &= 0x1f; in bitstring_match() 649 if (bits) { in bitstring_match() 656 mask = htonl((0xffffffff) << (32 - bits)); in bitstring_match()
|
| /net/netfilter/ |
| A D | nf_conntrack_labels.c | 41 size = sizeof(labels->bits); in nf_connlabels_replace() 45 dst = (u32 *) labels->bits; in nf_connlabels_replace() 59 int nf_connlabels_get(struct net *net, unsigned int bits) in nf_connlabels_get() argument 63 if (BIT_WORD(bits) >= NF_CT_LABELS_MAX_SIZE / sizeof(long)) in nf_connlabels_get()
|
| A D | xt_connlabel.c | 36 if (test_bit(info->bit, labels->bits)) in connlabel_mt() 40 if (!test_and_set_bit(info->bit, labels->bits)) in connlabel_mt()
|
| A D | nf_conntrack_h323_asn1.c | 165 static int nf_h323_error_boundary(struct bitstr *bs, size_t bytes, size_t bits) in nf_h323_error_boundary() argument 167 bits += bs->bit; in nf_h323_error_boundary() 168 bytes += bits / BITS_PER_BYTE; in nf_h323_error_boundary() 169 if (bits % BITS_PER_BYTE > 0) in nf_h323_error_boundary()
|
| A D | nf_conntrack_netlink.c | 409 return nla_total_size(sizeof(labels->bits)); in ctnetlink_label_size() 424 if (labels->bits[i] != 0) in ctnetlink_dump_labels() 425 return nla_put(skb, CTA_LABELS, sizeof(labels->bits), in ctnetlink_dump_labels() 426 labels->bits); in ctnetlink_dump_labels() 428 } while (i < ARRAY_SIZE(labels->bits)); in ctnetlink_dump_labels()
|
| A D | Kconfig | 191 This option enables support for assigning user-defined flag bits 1240 names to bits is done by userspace. 1242 Unlike connmark, more than 32 flag bits may be assigned to a 1318 the same bits as DSCP). 1377 This match extension allows you to match a range of CPIs(16 bits)
|
| A D | nft_ct.c | 118 memcpy(dest, labels->bits, NF_CT_LABELS_MAX_SIZE); in nft_ct_get_eval()
|
| /net/xfrm/ |
| A D | xfrm_hash.h | 32 static inline u32 __bits2mask32(__u8 bits) in __bits2mask32() argument 36 if (bits == 0) in __bits2mask32() 38 else if (bits < 32) in __bits2mask32() 39 mask32 <<= (32 - bits); in __bits2mask32()
|
| /net/netfilter/ipset/ |
| A D | ip_set_bitmap_ip.c | 238 range_to_mask(u32 from, u32 to, u8 *bits) in range_to_mask() argument 242 *bits = 32; in range_to_mask() 243 while (--(*bits) > 0 && mask && (to & mask) != from) in range_to_mask()
|
| /net/ethtool/ |
| A D | bitset.c | 270 struct nlattr *bits; in ethnl_put_bitset32() local 273 bits = nla_nest_start(skb, ETHTOOL_A_BITSET_BITS); in ethnl_put_bitset32() 274 if (!bits) in ethnl_put_bitset32() 294 nla_nest_end(skb, bits); in ethnl_put_bitset32()
|
| /net/ceph/crush/ |
| A D | mapper.c | 265 int bits = __builtin_clz(x & 0x1FFFF) - 16; in crush_ln() local 266 x <<= bits; in crush_ln() 267 iexpon = 15 - bits; in crush_ln()
|
| /net/openvswitch/ |
| A D | conntrack.c | 179 memcpy(labels, cl->bits, OVS_CT_LABELS_LEN); in ovs_ct_get_labels() 403 u32 *dst = (u32 *)cl->bits; in ovs_ct_init_labels() 417 memcpy(&key->ct.labels, cl->bits, OVS_CT_LABELS_LEN); in ovs_ct_init_labels() 439 memcpy(&key->ct.labels, cl->bits, OVS_CT_LABELS_LEN); in ovs_ct_set_labels()
|
| /net/ipv6/netfilter/ |
| A D | Kconfig | 109 Compares the last 64 bits with the EUI64 (delivered
|
| /net/ipv4/netfilter/ |
| A D | Kconfig | 284 You can use this target to remove the ECN bits from the IPv4 header of
|
| /net/mac80211/ |
| A D | mesh.c | 1158 unsigned long bits[] = { BITMAP_FROM_U64(changed) }; in ieee80211_mbss_info_change_notify() local 1165 for_each_set_bit(bit, bits, sizeof(changed) * BITS_PER_BYTE) in ieee80211_mbss_info_change_notify()
|
| /net/sched/ |
| A D | act_ct.c | 197 memcpy(act_ct_labels, ct_labels->bits, NF_CT_LABELS_MAX_SIZE); in tcf_ct_flow_table_add_action_meta()
|
| /net/core/ |
| A D | flow_dissector.c | 360 memcpy(key->ct_labels, cl->bits, sizeof(key->ct_labels)); in skb_flow_dissect_ct()
|