/linux-master/net/dccp/ |
H A D | ipv4.c | 514 READ_ONCE(inet_sk(sk)->tos)); 560 inet_sk(ctl_sk)->tos);
|
/linux-master/net/netfilter/ |
H A D | nf_log_syslog.c | 326 iph_totlen(skb, ih), ih->tos & IPTOS_TOS_MASK, 327 ih->tos & IPTOS_PREC_MASK, ih->ttl, ntohs(ih->id));
|
H A D | nft_tunnel.c | 493 info.key.tos = nla_get_u8(tb[NFTA_TUNNEL_KEY_TOS]); 685 nla_put_u8(skb, NFTA_TUNNEL_KEY_TOS, info->key.tos) ||
|
H A D | nft_flow_offload.c | 238 fl.u.ip4.flowi4_tos = RT_TOS(ip_hdr(pkt->skb)->tos);
|
/linux-master/net/openvswitch/ |
H A D | flow_netlink.c | 723 SW_FLOW_KEY_PUT(match, tun_key.tos, 831 match->key->tun_key.tos || 908 if (output->tos && 909 nla_put_u8(skb, OVS_TUNNEL_KEY_ATTR_TOS, output->tos)) 1562 SW_FLOW_KEY_PUT(match, ip.tos, 1595 SW_FLOW_KEY_PUT(match, ip.tos, 2121 ipv4_key->ipv4_tos = output->ip.tos; 2138 ipv6_key->ipv6_tclass = output->ip.tos;
|
H A D | actions.c | 522 flow_key->ip.tos = nh->tos; 592 flow_key->ip.tos = ipv6_get_dsfield(nh);
|
/linux-master/net/rds/ |
H A D | recv.c | 794 minfo.tos = inc->i_conn->c_tos; 823 minfo6.tos = inc->i_conn->c_tos;
|
/linux-master/tools/testing/selftests/net/forwarding/ |
H A D | vxlan_bridge_1q.sh | 166 nolearning noudpcsum tos inherit ttl 100 174 nolearning noudpcsum tos inherit ttl 100
|
H A D | vxlan_bridge_1q_ipv6.sh | 180 tos inherit ttl 100 188 tos inherit ttl 100
|
/linux-master/net/core/ |
H A D | pktgen.c | 351 __u8 tos; /* six MSB of (former) IPv4 TOS member in struct:pktgen_dev 653 if (pkt_dev->tos) 654 seq_printf(seq, " tos: 0x%02x\n", pkt_dev->tos); 1785 if (!strcmp(name, "tos")) { 1793 pkt_dev->tos = tmp_value; 1794 sprintf(pg_result, "OK: tos=0x%02x", pkt_dev->tos); 1796 sprintf(pg_result, "ERROR: tos must be 00-ff"); 2966 iph->tos [all...] |
/linux-master/net/ethtool/ |
H A D | ioctl.c | 3316 if (v4_m_spec->tos) { 3317 match->key.ip.tos = v4_spec->tos; 3318 match->mask.ip.tos = v4_m_spec->tos; 3369 match->key.ip.tos = v6_spec->tclass; 3370 match->mask.ip.tos = v6_m_spec->tclass;
|
/linux-master/include/net/ |
H A D | xfrm.h | 350 int tos, int oif, 665 u8 tos; member in struct:xfrm_mode_skb_cb 1727 struct dst_entry *__xfrm_dst_lookup(struct net *net, int tos, int oif,
|
H A D | ip_fib.h | 444 u8 tos, int oif, struct net_device *dev,
|
/linux-master/drivers/net/ |
H A D | gtp.c | 342 iph->tos, 524 iph->tos, 913 pktinfo.iph->tos,
|
/linux-master/tools/testing/selftests/net/ |
H A D | msg_zerocopy.c | 264 iph->tos = 0;
|
/linux-master/net/ipv4/ |
H A D | ip_options.c | 620 err = ip_route_input(skb, nexthop, iph->saddr, iph->tos, dev);
|
H A D | ipip.c | 519 nla_put_u8(skb, IFLA_IPTUN_TOS, parm->iph.tos) ||
|
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_ipip.c | 243 bool inherit_tos = tunnel->parms.iph.tos & 0x1;
|
/linux-master/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
H A D | chtls.h | 310 u8 tos; member in struct:chtls_sock
|
/linux-master/drivers/net/ipvlan/ |
H A D | ipvlan_core.c | 423 .flowi4_tos = RT_TOS(ip4h->tos),
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | xdp_metadata.c | 186 iph->tos = 0x9;
|
H A D | xdp_bonding.c | 230 iph.tos = 16;
|
/linux-master/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | conntrack.c | 163 /* Only tos and ttl are involved in flow_match_ip structure, which 183 tmp = FIELD_PREP(NFP_IPV6_TCLASS_MASK, match.key->tos); 189 tmp = FIELD_PREP(NFP_IPV4_TOS_MASK, match.key->tos); 204 match.key->tos = FIELD_GET(NFP_IPV6_TCLASS_MASK, tmp); 209 match.key->tos = FIELD_GET(NFP_IPV4_TOS_MASK, tmp);
|
/linux-master/net/ipv6/ |
H A D | ip6_tunnel.c | 611 0, 0, 0, IPPROTO_IPIP, RT_TOS(eiph->tos), 0); 622 IPPROTO_IPIP, RT_TOS(eiph->tos), 0); 630 if (ip_route_input(skb2, eiph->daddr, eiph->saddr, eiph->tos, 1322 dsfield = key->tos;
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_tcp_custom_syncookie.c | 432 ctx->ipv4->tos = 0;
|