/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_fs_ethtool.c | 577 if (l4_mask->tos) 597 if (l3_mask->l4_4_bytes || l3_mask->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 | 499 info.key.tos = nla_get_u8(tb[NFTA_TUNNEL_KEY_TOS]); 691 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/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/dccp/ |
H A D | ipv4.c | 515 READ_ONCE(inet_sk(sk)->tos)); 562 inet_sk(ctl_sk)->tos);
|
/linux-master/net/openvswitch/ |
H A D | flow_netlink.c | 730 SW_FLOW_KEY_PUT(match, tun_key.tos, 841 match->key->tun_key.tos || 918 if (output->tos && 919 nla_put_u8(skb, OVS_TUNNEL_KEY_ATTR_TOS, output->tos)) 1574 SW_FLOW_KEY_PUT(match, ip.tos, 1607 SW_FLOW_KEY_PUT(match, ip.tos, 2133 ipv4_key->ipv4_tos = output->ip.tos; 2150 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/drivers/staging/rtl8723bs/os_dep/ |
H A D | os_intfs.c | 334 dscp = ip_hdr(skb)->tos & 0xfc; 373 dscp = piphdr->tos & 0xfc;
|
/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 | 351 int tos, int oif, 666 u8 tos; member in struct:xfrm_mode_skb_cb 1731 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/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 | 528 nla_put_u8(skb, IFLA_IPTUN_TOS, parm->iph.tos) ||
|
/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/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/tools/testing/selftests/bpf/prog_tests/ |
H A D | xdp_bonding.c | 230 iph.tos = 16;
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_tcp_custom_syncookie.c | 432 ctx->ipv4->tos = 0;
|
/linux-master/drivers/net/ppp/ |
H A D | pptp.c | 246 iph->tos = 0;
|
/linux-master/drivers/net/wireguard/ |
H A D | receive.c | 389 INET_ECN_decapsulate(skb, PACKET_CB(skb)->ds, ip_hdr(skb)->tos);
|
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_ipip.c | 246 bool inherit_tos = tunnel->parms.iph.tos & 0x1;
|