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

1234567891011>>

/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_fs_ethtool.c577 if (l4_mask->tos)
597 if (l3_mask->l4_4_bytes || l3_mask->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.c499 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 Dnft_flow_offload.c238 fl.u.ip4.flowi4_tos = RT_TOS(ip_hdr(pkt->skb)->tos);
/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/dccp/
H A Dipv4.c515 READ_ONCE(inet_sk(sk)->tos));
562 inet_sk(ctl_sk)->tos);
/linux-master/net/openvswitch/
H A Dflow_netlink.c730 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 Dactions.c522 flow_key->ip.tos = nh->tos;
592 flow_key->ip.tos = ipv6_get_dsfield(nh);
/linux-master/drivers/staging/rtl8723bs/os_dep/
H A Dos_intfs.c334 dscp = ip_hdr(skb)->tos & 0xfc;
373 dscp = piphdr->tos & 0xfc;
/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.h351 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 Dip_fib.h444 u8 tos, int oif, struct net_device *dev,
/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.c528 nla_put_u8(skb, IFLA_IPTUN_TOS, parm->iph.tos) ||
/linux-master/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls.h310 u8 tos; member in struct:chtls_sock
/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/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_bonding.c230 iph.tos = 16;
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_tcp_custom_syncookie.c432 ctx->ipv4->tos = 0;
/linux-master/drivers/net/ppp/
H A Dpptp.c246 iph->tos = 0;
/linux-master/drivers/net/wireguard/
H A Dreceive.c389 INET_ECN_decapsulate(skb, PACKET_CB(skb)->ds, ip_hdr(skb)->tos);
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ipip.c246 bool inherit_tos = tunnel->parms.iph.tos & 0x1;

Completed in 449 milliseconds

1234567891011>>