/Linux-v6.1/drivers/pcmcia/ |
D | cistpl.c | 432 /* The high-level CIS tuple services */ 447 tuple_t *tuple) in pccard_get_first_tuple() argument 454 tuple->TupleLink = tuple->Flags = 0; in pccard_get_first_tuple() 457 tuple->CISOffset = tuple->LinkOffset = 0; in pccard_get_first_tuple() 458 SPACE(tuple->Flags) = HAS_LINK(tuple->Flags) = 1; in pccard_get_first_tuple() 460 if ((s->functions > 1) && !(tuple->Attributes & TUPLE_RETURN_COMMON)) { in pccard_get_first_tuple() 461 cisdata_t req = tuple->DesiredTuple; in pccard_get_first_tuple() 462 tuple->DesiredTuple = CISTPL_LONGLINK_MFC; in pccard_get_first_tuple() 463 if (pccard_get_next_tuple(s, function, tuple) == 0) { in pccard_get_first_tuple() 464 tuple->DesiredTuple = CISTPL_LINKTARGET; in pccard_get_first_tuple() [all …]
|
D | pcmcia_cis.c | 27 * pccard_read_tuple() - internal CIS tuple access 31 * @parse: buffer where the tuple shall be parsed (or NULL, if no parse) 33 * pccard_read_tuple() reads out one tuple and attempts to parse it 38 tuple_t tuple; in pccard_read_tuple() local 44 dev_warn(&s->dev, "no memory to read tuple\n"); in pccard_read_tuple() 47 tuple.DesiredTuple = code; in pccard_read_tuple() 48 tuple.Attributes = 0; in pccard_read_tuple() 50 tuple.Attributes = TUPLE_RETURN_COMMON; in pccard_read_tuple() 51 ret = pccard_get_first_tuple(s, function, &tuple); in pccard_read_tuple() 54 tuple.TupleData = buf; in pccard_read_tuple() [all …]
|
/Linux-v6.1/tools/testing/selftests/bpf/progs/ |
D | test_sk_lookup_kern.c | 20 /* Fill 'tuple' with L3 info, and attempt to find L4. On fail, return NULL. */ 61 struct bpf_sock_tuple *tuple; in sk_lookup_success() local 69 tuple = get_tuple(data, sizeof(*eth), data_end, eth->h_proto, &ipv4); in sk_lookup_success() 70 if (!tuple || tuple + sizeof *tuple > data_end) in sk_lookup_success() 73 tuple_len = ipv4 ? sizeof(tuple->ipv4) : sizeof(tuple->ipv6); in sk_lookup_success() 74 sk = bpf_sk_lookup_tcp(skb, tuple, tuple_len, BPF_F_CURRENT_NETNS, 0); in sk_lookup_success() 84 struct bpf_sock_tuple tuple = {}; in sk_lookup_success_simple() local 87 sk = bpf_sk_lookup_tcp(skb, &tuple, sizeof(tuple), BPF_F_CURRENT_NETNS, 0); in sk_lookup_success_simple() 96 struct bpf_sock_tuple tuple = {}; in err_use_after_free() local 100 sk = bpf_sk_lookup_tcp(skb, &tuple, sizeof(tuple), BPF_F_CURRENT_NETNS, 0); in err_use_after_free() [all …]
|
D | connect6_prog.c | 30 struct bpf_sock_tuple tuple = {}; in connect_v6_prog() local 35 memset(&tuple.ipv6.saddr, 0, sizeof(tuple.ipv6.saddr)); in connect_v6_prog() 36 memset(&tuple.ipv6.sport, 0, sizeof(tuple.ipv6.sport)); in connect_v6_prog() 38 tuple.ipv6.daddr[0] = bpf_htonl(DST_REWRITE_IP6_0); in connect_v6_prog() 39 tuple.ipv6.daddr[1] = bpf_htonl(DST_REWRITE_IP6_1); in connect_v6_prog() 40 tuple.ipv6.daddr[2] = bpf_htonl(DST_REWRITE_IP6_2); in connect_v6_prog() 41 tuple.ipv6.daddr[3] = bpf_htonl(DST_REWRITE_IP6_3); in connect_v6_prog() 43 tuple.ipv6.dport = bpf_htons(DST_REWRITE_PORT6); in connect_v6_prog() 48 sk = bpf_sk_lookup_tcp(ctx, &tuple, sizeof(tuple.ipv6), in connect_v6_prog() 51 sk = bpf_sk_lookup_udp(ctx, &tuple, sizeof(tuple.ipv6), in connect_v6_prog() [all …]
|
D | test_sk_assign.c | 41 /* Fill 'tuple' with L3 info, and attempt to find L4. On fail, return NULL. */ 90 handle_udp(struct __sk_buff *skb, struct bpf_sock_tuple *tuple, bool ipv4) in handle_udp() argument 98 tuple_len = ipv4 ? sizeof(tuple->ipv4) : sizeof(tuple->ipv6); in handle_udp() 99 if ((void *)tuple + tuple_len > (void *)(long)skb->data_end) in handle_udp() 102 sk = bpf_sk_lookup_udp(skb, tuple, tuple_len, BPF_F_CURRENT_NETNS, 0); in handle_udp() 106 dport = ipv4 ? tuple->ipv4.dport : tuple->ipv6.dport; in handle_udp() 121 handle_tcp(struct __sk_buff *skb, struct bpf_sock_tuple *tuple, bool ipv4) in handle_tcp() argument 129 tuple_len = ipv4 ? sizeof(tuple->ipv4) : sizeof(tuple->ipv6); in handle_tcp() 130 if ((void *)tuple + tuple_len > (void *)(long)skb->data_end) in handle_tcp() 133 sk = bpf_skc_lookup_tcp(skb, tuple, tuple_len, BPF_F_CURRENT_NETNS, 0); in handle_tcp() [all …]
|
/Linux-v6.1/net/netfilter/ |
D | nf_flow_table_ip.c | 84 new_addr = flow->tuplehash[FLOW_OFFLOAD_DIR_REPLY].tuple.dst_v4.s_addr; in nf_flow_snat_ip() 89 new_addr = flow->tuplehash[FLOW_OFFLOAD_DIR_ORIGINAL].tuple.src_v4.s_addr; in nf_flow_snat_ip() 107 new_addr = flow->tuplehash[FLOW_OFFLOAD_DIR_REPLY].tuple.src_v4.s_addr; in nf_flow_dnat_ip() 112 new_addr = flow->tuplehash[FLOW_OFFLOAD_DIR_ORIGINAL].tuple.dst_v4.s_addr; in nf_flow_dnat_ip() 141 struct flow_offload_tuple *tuple) in nf_flow_tuple_encap() argument 148 tuple->encap[i].id = skb_vlan_tag_get(skb); in nf_flow_tuple_encap() 149 tuple->encap[i].proto = skb->vlan_proto; in nf_flow_tuple_encap() 155 tuple->encap[i].id = ntohs(veth->h_vlan_TCI); in nf_flow_tuple_encap() 156 tuple->encap[i].proto = skb->protocol; in nf_flow_tuple_encap() 160 tuple->encap[i].id = ntohs(phdr->sid); in nf_flow_tuple_encap() [all …]
|
D | nf_nat_sip.c | 107 if (nf_inet_addr_cmp(&ct->tuplehash[dir].tuple.src.u3, addr) && in map_addr() 108 ct->tuplehash[dir].tuple.src.u.udp.port == port) { in map_addr() 109 newaddr = ct->tuplehash[!dir].tuple.dst.u3; in map_addr() 110 newport = ct->tuplehash[!dir].tuple.dst.u.udp.port; in map_addr() 111 } else if (nf_inet_addr_cmp(&ct->tuplehash[dir].tuple.dst.u3, addr) && in map_addr() 112 ct->tuplehash[dir].tuple.dst.u.udp.port == port) { in map_addr() 113 newaddr = ct->tuplehash[!dir].tuple.src.u3; in map_addr() 115 ct->tuplehash[!dir].tuple.src.u.udp.port; in map_addr() 189 &ct->tuplehash[dir].tuple.src.u3) || in nf_nat_sip() 190 port != ct->tuplehash[dir].tuple.src.u.udp.port) in nf_nat_sip() [all …]
|
D | nf_nat_proto.c | 41 const struct nf_conntrack_tuple *tuple, in __udp_manip_pkt() argument 48 newport = tuple->src.u.udp.port; in __udp_manip_pkt() 52 newport = tuple->dst.u.udp.port; in __udp_manip_pkt() 56 nf_csum_update(skb, iphdroff, &hdr->check, tuple, maniptype); in __udp_manip_pkt() 67 const struct nf_conntrack_tuple *tuple, in udp_manip_pkt() argument 76 __udp_manip_pkt(skb, iphdroff, hdr, tuple, maniptype, !!hdr->check); in udp_manip_pkt() 83 const struct nf_conntrack_tuple *tuple, in udplite_manip_pkt() argument 93 __udp_manip_pkt(skb, iphdroff, hdr, tuple, maniptype, true); in udplite_manip_pkt() 101 const struct nf_conntrack_tuple *tuple, in sctp_manip_pkt() argument 122 hdr->source = tuple->src.u.sctp.port; in sctp_manip_pkt() [all …]
|
D | nf_nat_core.c | 61 const struct nf_conntrack_tuple *t = &ct->tuplehash[dir].tuple; in nf_nat_ipv4_decode_session() 94 const struct nf_conntrack_tuple *t = &ct->tuplehash[dir].tuple; in nf_nat_ipv6_decode_session() 155 const struct nf_conntrack_tuple *tuple) in hash_by_src() argument 170 combined.src = tuple->src; in hash_by_src() 172 combined.protonum = tuple->dst.protonum; in hash_by_src() 183 /* Is this tuple already taken? (not by us) */ 185 nf_nat_used_tuple(const struct nf_conntrack_tuple *tuple, in nf_nat_used_tuple() argument 190 * so we invert the tuple and look for the incoming reply. in nf_nat_used_tuple() 196 nf_ct_invert_tuple(&reply, tuple); in nf_nat_used_tuple() 211 /* Is the manipable part of the tuple between min and max incl? */ [all …]
|
D | nf_flow_table_offload.c | 91 const struct flow_offload_tuple *tuple, in nf_flow_rule_match() argument 112 if (tuple->xmit_type == FLOW_OFFLOAD_XMIT_TC) in nf_flow_rule_match() 113 key->meta.ingress_ifindex = tuple->tc.iifidx; in nf_flow_rule_match() 115 key->meta.ingress_ifindex = tuple->iifidx; in nf_flow_rule_match() 119 if (tuple->encap_num > 0 && !(tuple->in_vlan_ingress & BIT(0)) && in nf_flow_rule_match() 120 tuple->encap[0].proto == htons(ETH_P_8021Q)) { in nf_flow_rule_match() 123 tuple->encap[0].id, in nf_flow_rule_match() 124 tuple->encap[0].proto); in nf_flow_rule_match() 128 if (tuple->encap_num > 1 && !(tuple->in_vlan_ingress & BIT(1)) && in nf_flow_rule_match() 129 tuple->encap[1].proto == htons(ETH_P_8021Q)) { in nf_flow_rule_match() [all …]
|
D | nf_conntrack_expect.c | 82 …tic unsigned int nf_ct_expect_dst_hash(const struct net *n, const struct nf_conntrack_tuple *tuple) in nf_ct_expect_dst_hash() argument 97 combined.dst_addr = tuple->dst.u3; in nf_ct_expect_dst_hash() 99 combined.dport = (__force __u16)tuple->dst.u.all; in nf_ct_expect_dst_hash() 100 combined.l3num = tuple->src.l3num; in nf_ct_expect_dst_hash() 101 combined.protonum = tuple->dst.protonum; in nf_ct_expect_dst_hash() 109 nf_ct_exp_equal(const struct nf_conntrack_tuple *tuple, in nf_ct_exp_equal() argument 114 return nf_ct_tuple_mask_cmp(tuple, &i->tuple, &i->mask) && in nf_ct_exp_equal() 133 const struct nf_conntrack_tuple *tuple) in __nf_ct_expect_find() argument 142 h = nf_ct_expect_dst_hash(net, tuple); in __nf_ct_expect_find() 144 if (nf_ct_exp_equal(tuple, i, zone, net)) in __nf_ct_expect_find() [all …]
|
D | nf_conntrack_bpf.c | 37 * -ENOENT - Conntrack lookup could not find entry for tuple 38 * -EAFNOSUPPORT - tuple__sz isn't one of sizeof(tuple->ipv4) 39 * or sizeof(tuple->ipv6) 43 * @dir: - connection tracking tuple direction. 62 struct nf_conntrack_tuple *tuple) in bpf_nf_ct_tuple_parse() argument 64 union nf_inet_addr *src = dir ? &tuple->dst.u3 : &tuple->src.u3; in bpf_nf_ct_tuple_parse() 65 union nf_inet_addr *dst = dir ? &tuple->src.u3 : &tuple->dst.u3; in bpf_nf_ct_tuple_parse() 66 union nf_conntrack_man_proto *sport = dir ? (void *)&tuple->dst.u in bpf_nf_ct_tuple_parse() 67 : &tuple->src.u; in bpf_nf_ct_tuple_parse() 68 union nf_conntrack_man_proto *dport = dir ? &tuple->src.u in bpf_nf_ct_tuple_parse() [all …]
|
D | nf_flow_table_core.c | 24 struct flow_offload_tuple *ft = &flow->tuplehash[dir].tuple; in flow_offload_fill_dir() 25 struct nf_conntrack_tuple *ctt = &flow->ct->tuplehash[dir].tuple; in flow_offload_fill_dir() 94 struct flow_offload_tuple *flow_tuple = &flow->tuplehash[dir].tuple; in flow_offload_fill_route() 95 struct dst_entry *dst = route->tuple[dir].dst; in flow_offload_fill_route() 107 flow_tuple->iifidx = route->tuple[dir].in.ifindex; in flow_offload_fill_route() 108 for (i = route->tuple[dir].in.num_encaps - 1; i >= 0; i--) { in flow_offload_fill_route() 109 flow_tuple->encap[j].id = route->tuple[dir].in.encap[i].id; in flow_offload_fill_route() 110 flow_tuple->encap[j].proto = route->tuple[dir].in.encap[i].proto; in flow_offload_fill_route() 111 if (route->tuple[dir].in.ingress_vlans & BIT(i)) in flow_offload_fill_route() 115 flow_tuple->encap_num = route->tuple[dir].in.num_encaps; in flow_offload_fill_route() [all …]
|
D | xt_conntrack.c | 44 return conntrack_addrcmp(&ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u3, in conntrack_mt_origsrc() 53 return conntrack_addrcmp(&ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.u3, in conntrack_mt_origdst() 62 return conntrack_addrcmp(&ct->tuplehash[IP_CT_DIR_REPLY].tuple.src.u3, in conntrack_mt_replsrc() 71 return conntrack_addrcmp(&ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.u3, in conntrack_mt_repldst() 79 const struct nf_conntrack_tuple *tuple; in ct_proto_port_check() local 81 tuple = &ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple; in ct_proto_port_check() 89 (tuple->src.u.all == info->origsrc_port) ^ in ct_proto_port_check() 94 (tuple->dst.u.all == info->origdst_port) ^ in ct_proto_port_check() 98 tuple = &ct->tuplehash[IP_CT_DIR_REPLY].tuple; in ct_proto_port_check() 101 (tuple->src.u.all == info->replsrc_port) ^ in ct_proto_port_check() [all …]
|
D | nft_flow_offload.c | 34 route->tuple[!dir].in.ifindex = dst_cache->dev->ifindex; in nft_default_forward_path() 35 route->tuple[dir].dst = dst_cache; in nft_default_forward_path() 36 route->tuple[dir].xmit_type = nft_xmit_type(dst_cache); in nft_default_forward_path() 54 const void *daddr = &ct->tuplehash[!dir].tuple.src.u3; in nft_dev_fill_forward_path() 192 const struct dst_entry *dst = route->tuple[dir].dst; in nft_dev_forward_path() 204 route->tuple[!dir].in.ifindex = info.indev->ifindex; in nft_dev_forward_path() 206 route->tuple[!dir].in.encap[i].id = info.encap[i].id; in nft_dev_forward_path() 207 route->tuple[!dir].in.encap[i].proto = info.encap[i].proto; in nft_dev_forward_path() 209 route->tuple[!dir].in.num_encaps = info.num_encaps; in nft_dev_forward_path() 210 route->tuple[!dir].in.ingress_vlans = info.ingress_vlans; in nft_dev_forward_path() [all …]
|
D | nf_conntrack_core.c | 210 static u32 hash_conntrack_raw(const struct nf_conntrack_tuple *tuple, in hash_conntrack_raw() argument 228 combined.src = tuple->src; in hash_conntrack_raw() 229 combined.dst_addr = tuple->dst.u3; in hash_conntrack_raw() 232 combined.dport = (__force __u16)tuple->dst.u.all; in hash_conntrack_raw() 233 combined.proto = tuple->dst.protonum; in hash_conntrack_raw() 244 const struct nf_conntrack_tuple *tuple, in __hash_conntrack() argument 248 return reciprocal_scale(hash_conntrack_raw(tuple, zoneid, net), size); in __hash_conntrack() 252 const struct nf_conntrack_tuple *tuple, in hash_conntrack() argument 255 return scale_hash(hash_conntrack_raw(tuple, zoneid, net)); in hash_conntrack() 260 struct nf_conntrack_tuple *tuple) in nf_ct_get_tuple_ports() argument [all …]
|
D | nf_conntrack_h323_main.c | 222 memcmp(&addr, &ct->tuplehash[dir].tuple.src.u3, sizeof(addr)) || in expect_rtp_rtcp() 234 &ct->tuplehash[!dir].tuple.src.u3, in expect_rtp_rtcp() 235 &ct->tuplehash[!dir].tuple.dst.u3, in expect_rtp_rtcp() 244 &ct->tuplehash[!dir].tuple.src.u3, in expect_rtp_rtcp() 245 &ct->tuplehash[!dir].tuple.dst.u3, in expect_rtp_rtcp() 249 if (memcmp(&ct->tuplehash[dir].tuple.src.u3, in expect_rtp_rtcp() 250 &ct->tuplehash[!dir].tuple.dst.u3, in expect_rtp_rtcp() 251 sizeof(ct->tuplehash[dir].tuple.src.u3)) && in expect_rtp_rtcp() 262 nf_ct_dump_tuple(&rtp_exp->tuple); in expect_rtp_rtcp() 264 nf_ct_dump_tuple(&rtcp_exp->tuple); in expect_rtp_rtcp() [all …]
|
D | nf_conntrack_proto.c | 256 struct nf_conntrack_tuple tuple; in getorigdst() local 258 memset(&tuple, 0, sizeof(tuple)); in getorigdst() 261 tuple.src.u3.ip = inet->inet_rcv_saddr; in getorigdst() 262 tuple.src.u.tcp.port = inet->inet_sport; in getorigdst() 263 tuple.dst.u3.ip = inet->inet_daddr; in getorigdst() 264 tuple.dst.u.tcp.port = inet->inet_dport; in getorigdst() 265 tuple.src.l3num = PF_INET; in getorigdst() 266 tuple.dst.protonum = sk->sk_protocol; in getorigdst() 270 if (tuple.dst.protonum != IPPROTO_TCP && in getorigdst() 271 tuple.dst.protonum != IPPROTO_SCTP) { in getorigdst() [all …]
|
/Linux-v6.1/drivers/ssb/ |
D | sdio.c | 477 struct sdio_func_tuple *tuple; in ssb_sdio_get_invariants() local 484 tuple = bus->host_sdio->tuples; in ssb_sdio_get_invariants() 485 while (tuple) { in ssb_sdio_get_invariants() 486 switch (tuple->code) { in ssb_sdio_get_invariants() 488 switch (tuple->data[0]) { in ssb_sdio_get_invariants() 490 GOTO_ERROR_ON((tuple->size != 7) && in ssb_sdio_get_invariants() 491 (tuple->data[1] != 6), in ssb_sdio_get_invariants() 494 mac = tuple->data + 2; in ssb_sdio_get_invariants() 502 case 0x80: /* vendor specific tuple */ in ssb_sdio_get_invariants() 503 switch (tuple->data[0]) { in ssb_sdio_get_invariants() [all …]
|
D | pcmcia.c | 597 tuple_t *tuple, in ssb_pcmcia_get_mac() argument 602 if (tuple->TupleData[0] != CISTPL_FUNCE_LAN_NODE_ID) in ssb_pcmcia_get_mac() 604 if (tuple->TupleDataLen != ETH_ALEN + 2) in ssb_pcmcia_get_mac() 606 if (tuple->TupleData[1] != ETH_ALEN) in ssb_pcmcia_get_mac() 608 memcpy(sprom->il0mac, &tuple->TupleData[2], ETH_ALEN); in ssb_pcmcia_get_mac() 613 tuple_t *tuple, in ssb_pcmcia_do_get_invariants() argument 621 GOTO_ERROR_ON(tuple->TupleDataLen < 1, "VEN tpl < 1"); in ssb_pcmcia_do_get_invariants() 622 switch (tuple->TupleData[0]) { in ssb_pcmcia_do_get_invariants() 624 GOTO_ERROR_ON((tuple->TupleDataLen != 5) && in ssb_pcmcia_do_get_invariants() 625 (tuple->TupleDataLen != 7), in ssb_pcmcia_do_get_invariants() [all …]
|
/Linux-v6.1/net/ipv4/netfilter/ |
D | nf_nat_h323.c | 105 if (addr.ip == ct->tuplehash[dir].tuple.src.u3.ip && in set_sig_addr() 118 &ct->tuplehash[!dir].tuple.dst.u3.ip, in set_sig_addr() 123 tuple.dst.u3, in set_sig_addr() 125 } else if (addr.ip == ct->tuplehash[dir].tuple.dst.u3.ip && in set_sig_addr() 130 &ct->tuplehash[!dir].tuple.src.u3.ip, in set_sig_addr() 135 tuple.src.u3, in set_sig_addr() 157 addr.ip == ct->tuplehash[dir].tuple.src.u3.ip && in set_ras_addr() 158 port == ct->tuplehash[dir].tuple.src.u.udp.port) { in set_ras_addr() 161 &ct->tuplehash[!dir].tuple.dst.u3.ip, in set_ras_addr() 162 ntohs(ct->tuplehash[!dir].tuple.dst.u.udp.port)); in set_ras_addr() [all …]
|
/Linux-v6.1/net/netfilter/ipvs/ |
D | ip_vs_nfct.c | 100 * CIP->VIP will remain the same, so leave the tuple in in ip_vs_update_conntrack() 104 new_tuple = ct->tuplehash[IP_CT_DIR_REPLY].tuple; in ip_vs_update_conntrack() 122 ARG_TUPLE(&ct->tuplehash[IP_CT_DIR_REPLY].tuple)); in ip_vs_update_conntrack() 157 orig = &ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple; in ip_vs_nfct_expect_callback() 158 ip_vs_conn_fill_param(net_ipvs(net), exp->tuple.src.l3num, orig->dst.protonum, in ip_vs_nfct_expect_callback() 167 new_reply = ct->tuplehash[IP_CT_DIR_REPLY].tuple; in ip_vs_nfct_expect_callback() 168 IP_VS_DBG_BUF(7, "%s: ct=%p before alter: reply tuple=" in ip_vs_nfct_expect_callback() 183 new_reply = ct->tuplehash[IP_CT_DIR_REPLY].tuple; in ip_vs_nfct_expect_callback() 184 IP_VS_DBG_BUF(7, "%s: ct=%p before alter: reply tuple=" in ip_vs_nfct_expect_callback() 192 IP_VS_DBG_BUF(7, "%s: ct=%p, status=0x%lX, tuple=" FMT_TUPLE in ip_vs_nfct_expect_callback() [all …]
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_arfs.c | 90 struct arfs_tuple tuple; member 493 struct arfs_tuple *tuple = &arfs_rule->tuple; in arfs_add_rule() local 511 ntohs(tuple->etype)); in arfs_add_rule() 512 arfs_table = arfs_get_table(arfs, tuple->ip_proto, tuple->etype); in arfs_add_rule() 519 if (tuple->ip_proto == IPPROTO_TCP) { in arfs_add_rule() 525 ntohs(tuple->dst_port)); in arfs_add_rule() 527 ntohs(tuple->src_port)); in arfs_add_rule() 534 ntohs(tuple->dst_port)); in arfs_add_rule() 536 ntohs(tuple->src_port)); in arfs_add_rule() 538 if (tuple->etype == htons(ETH_P_IP)) { in arfs_add_rule() [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/phy/ |
D | apm-xgene-phy.txt | 19 Two set of 3-tuple setting for each (up to 3) 25 Two set of 3-tuple setting for each (up to 3) 28 gain control. Two set of 3-tuple setting for each 31 - apm,tx-amplitude : Amplitude control. Two set of 3-tuple setting for 36 3-tuple setting for each (up to 3) supported link 40 3-tuple setting for each (up to 3) supported link 44 3-tuple setting for Gen1, Gen2, and Gen3. Range is 46 - apm,tx-speed : Tx operating speed. One set of 3-tuple for each 49 1 = 2-4Gbps (1st tuple default) 51 3 = 8-15Gbps (2nd tuple default) [all …]
|
/Linux-v6.1/include/net/netfilter/ |
D | nf_conntrack_tuple.h | 3 * Definitions and Declarations for tuple. 18 /* A `tuple' is a structure containing the information to uniquely 19 identify a connection. ie. if two packets have the same tuple, they 28 /* The manipulable part of the tuple. */ 40 /* These are the parts of the tuple which are fixed. */ 85 printk("tuple %p: %u %pI4:%hu -> %pI4:%hu\n", in nf_ct_dump_tuple_ip() 95 printk("tuple %p: %u %pI6 %hu -> %pI6 %hu\n", in nf_ct_dump_tuple_ipv6() 114 /* If we're the first tuple, it's the original dir. */ 116 ((enum ip_conntrack_dir)(h)->tuple.dst.dir) 121 struct nf_conntrack_tuple tuple; member [all …]
|