Home
last modified time | relevance | path

Searched refs:tos (Results 226 – 250 of 316) sorted by relevance

12345678910>>...13

/openbmc/linux/net/ipv4/
H A Dipip.c519 nla_put_u8(skb, IFLA_IPTUN_TOS, parm->iph.tos) || in ipip_fill_info()
H A Dip_options.c620 err = ip_route_input(skb, nexthop, iph->saddr, iph->tos, dev); in ip_options_rcv_srr()
/openbmc/linux/net/xfrm/
H A Dxfrm_policy.c254 struct dst_entry *__xfrm_dst_lookup(struct net *net, int tos, int oif, in __xfrm_dst_lookup() argument
266 dst = afinfo->dst_lookup(net, tos, oif, saddr, daddr, mark); in __xfrm_dst_lookup()
275 int tos, int oif, in xfrm_dst_lookup() argument
294 dst = __xfrm_dst_lookup(net, tos, oif, saddr, daddr, family, mark); in xfrm_dst_lookup()
2632 int tos; in xfrm_bundle_create() local
2638 tos = xfrm_get_tos(fl, family); in xfrm_bundle_create()
2686 dst = xfrm_dst_lookup(xfrm[i], tos, oif, in xfrm_bundle_create()
3395 fl4->flowi4_tos = iph->tos & ~INET_ECN_MASK; in decode_session4()
/openbmc/linux/drivers/nvme/host/
H A Dfabrics.c675 opts->tos = -1; /* < 0 == use transport default */ in nvmf_parse_options()
927 opts->tos = token; in nvmf_parse_options()
/openbmc/linux/net/bridge/
H A Dbr_netfilter_hooks.c388 if ((err = ip_route_input(skb, iph->daddr, iph->saddr, iph->tos, dev))) { in br_nf_pre_routing_finish()
402 RT_TOS(iph->tos), 0); in br_nf_pre_routing_finish()
/openbmc/linux/drivers/net/
H A Dgtp.c342 iph->tos, in gtp0_send_echo_resp()
524 iph->tos, in gtp1u_send_echo_resp()
927 pktinfo.iph->tos, in gtp_dev_xmit()
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ipip.c243 bool inherit_tos = tunnel->parms.iph.tos & 0x1; in mlxsw_sp_ipip_can_offload_gre4()
/openbmc/linux/drivers/infiniband/hw/irdma/
H A Dtype.h792 u8 tos; member
889 u8 tos; member
/openbmc/linux/include/net/
H A Dip_fib.h443 u8 tos, int oif, struct net_device *dev,
H A Dxfrm.h348 int tos, int oif,
663 u8 tos; member
1728 struct dst_entry *__xfrm_dst_lookup(struct net *net, int tos, int oif,
/openbmc/linux/net/netfilter/
H A Dnft_flow_offload.c238 fl.u.ip4.flowi4_tos = RT_TOS(ip_hdr(pkt->skb)->tos); in nft_flow_route()
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_npc_fs.c934 NPC_WRITE_FLOW(NPC_TOS, tos, pkt->tos, 0, mask->tos, 0); in npc_update_flow()
/openbmc/linux/net/sched/
H A Dcls_flower.c1185 fl_set_key_val(tb, &key->tos, tos_key, &mask->tos, tos_mask, sizeof(key->tos)); in fl_set_key_ip()
2933 if (fl_dump_key_val(skb, &key->tos, tos_key, &mask->tos, tos_mask, sizeof(key->tos)) || in fl_dump_key_ip()
/openbmc/linux/drivers/net/wireguard/
H A Dreceive.c389 INET_ECN_decapsulate(skb, PACKET_CB(skb)->ds, ip_hdr(skb)->tos); in wg_packet_consume_data_done()
/openbmc/linux/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_tx.c269 switch (ip->tos & 0xfc) { in ieee80211_classify()
/openbmc/linux/drivers/net/ethernet/sfc/
H A Dethtool_common.c994 if (ip_mask->tos) in efx_ethtool_set_class_rule()
1034 if (uip_mask->l4_4_bytes || uip_mask->tos || uip_mask->ip_ver || in efx_ethtool_set_class_rule()
/openbmc/linux/drivers/net/ethernet/sfc/falcon/
H A Dethtool.c1096 if (ip_mask->tos) in ef4_ethtool_set_class_rule()
1136 if (uip_mask->l4_4_bytes || uip_mask->tos || uip_mask->ip_ver || in ef4_ethtool_set_class_rule()
/openbmc/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc_ethtool.c548 if (l4ip4_m->tos) in enetc_set_cls_entry()
561 if (l3ip4_m->tos) in enetc_set_cls_entry()
/openbmc/linux/drivers/net/ethernet/sfc/siena/
H A Dethtool_common.c995 if (ip_mask->tos) in efx_ethtool_set_class_rule()
1035 if (uip_mask->l4_4_bytes || uip_mask->tos || uip_mask->ip_ver || in efx_ethtool_set_class_rule()
/openbmc/linux/tools/testing/selftests/net/
H A Dmsg_zerocopy.c264 iph->tos = 0; in setup_iph()
H A Drtnetlink.sh245 ip route get 127.0.0.1 from 127.0.0.1 oif lo tos 0x10 mark 0x1 > /dev/null
247 ip route get ::1 from ::1 iif lo oif lo tos 0x10 mark 0x1 > /dev/null
/openbmc/linux/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/
H A Dswitch-driver.rst137 * IPv4: dst_ip/src_ip/ip_proto/tos
/openbmc/linux/drivers/net/ppp/
H A Dpptp.c246 iph->tos = 0; in pptp_xmit()
/openbmc/linux/drivers/net/ipvlan/
H A Dipvlan_core.c423 .flowi4_tos = RT_TOS(ip4h->tos), in ipvlan_process_v4_outbound()
/openbmc/linux/Documentation/netlink/specs/
H A Dovs_flow.yaml76 name: ipv4-tos
745 name: tos

12345678910>>...13