Searched refs:tos (Results 201 - 225 of 303) sorted by relevance

1234567891011>>

/linux-master/net/dccp/
H A Dipv4.c514 READ_ONCE(inet_sk(sk)->tos));
560 inet_sk(ctl_sk)->tos);
/linux-master/net/netfilter/
H A Dnf_log_syslog.c326 iph_totlen(skb, ih), ih->tos & IPTOS_TOS_MASK,
327 ih->tos & IPTOS_PREC_MASK, ih->ttl, ntohs(ih->id));
H A Dnft_tunnel.c493 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 Dnft_flow_offload.c238 fl.u.ip4.flowi4_tos = RT_TOS(ip_hdr(pkt->skb)->tos);
/linux-master/net/openvswitch/
H A Dflow_netlink.c723 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 Dactions.c522 flow_key->ip.tos = nh->tos;
592 flow_key->ip.tos = ipv6_get_dsfield(nh);
/linux-master/net/rds/
H A Drecv.c794 minfo.tos = inc->i_conn->c_tos;
823 minfo6.tos = inc->i_conn->c_tos;
/linux-master/tools/testing/selftests/net/forwarding/
H A Dvxlan_bridge_1q.sh166 nolearning noudpcsum tos inherit ttl 100
174 nolearning noudpcsum tos inherit ttl 100
H A Dvxlan_bridge_1q_ipv6.sh180 tos inherit ttl 100
188 tos inherit ttl 100
/linux-master/net/core/
H A Dpktgen.c351 __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 Dioctl.c3316 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 Dxfrm.h350 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 Dip_fib.h444 u8 tos, int oif, struct net_device *dev,
/linux-master/drivers/net/
H A Dgtp.c342 iph->tos,
524 iph->tos,
913 pktinfo.iph->tos,
/linux-master/tools/testing/selftests/net/
H A Dmsg_zerocopy.c264 iph->tos = 0;
/linux-master/net/ipv4/
H A Dip_options.c620 err = ip_route_input(skb, nexthop, iph->saddr, iph->tos, dev);
H A Dipip.c519 nla_put_u8(skb, IFLA_IPTUN_TOS, parm->iph.tos) ||
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ipip.c243 bool inherit_tos = tunnel->parms.iph.tos & 0x1;
/linux-master/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls.h310 u8 tos; member in struct:chtls_sock
/linux-master/drivers/net/ipvlan/
H A Dipvlan_core.c423 .flowi4_tos = RT_TOS(ip4h->tos),
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_metadata.c186 iph->tos = 0x9;
H A Dxdp_bonding.c230 iph.tos = 16;
/linux-master/drivers/net/ethernet/netronome/nfp/flower/
H A Dconntrack.c163 /* 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 Dip6_tunnel.c611 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 Dtest_tcp_custom_syncookie.c432 ctx->ipv4->tos = 0;

Completed in 306 milliseconds

1234567891011>>