/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | tracepoint.h | 14 #define TRACE_EVENT(name, proto, ...) \ argument 15 static inline void trace_ ## name(proto) {} 21 #define DEFINE_EVENT(evt_class, name, proto, ...) \ argument 22 static inline void trace_ ## name(proto) {}
|
/openbmc/linux/net/bridge/ |
H A D | br_mdb.c | 154 ip->proto = entry->addr.proto; in __mdb_entry_to_br_ip() 155 switch (ip->proto) { in __mdb_entry_to_br_ip() 192 switch (ent->addr.proto) { in __mdb_fill_srcs() 264 e.addr.proto = mp->addr.proto; in __mdb_fill_info() 276 switch (mp->addr.proto) { in __mdb_fill_info() 470 switch (pg->key.addr.proto) { in rtnl_mdb_nlmsg_size() 644 switch (proto) { in is_valid_mdb_source() 1067 __be16 proto, in br_mdb_config_src_entry_init() argument 1084 src->addr.proto = proto; in br_mdb_config_src_entry_init() 1116 cfg->entry->addr.proto, in br_mdb_config_src_list_init() [all …]
|
/openbmc/linux/arch/hexagon/include/asm/ |
H A D | checksum.h | 18 __u32 len, __u8 proto, __wsum sum); 22 __u32 len, __u8 proto, __wsum sum);
|
/openbmc/linux/arch/x86/um/asm/ |
H A D | checksum_32.h | 16 __u32 len, __u8 proto, in csum_ipv6_magic() argument 33 "r"(htonl(len)), "r"(htonl(proto)), "0"(sum)); in csum_ipv6_magic()
|
/openbmc/linux/drivers/net/ |
H A D | bareudp.c | 67 __be16 proto; in bareudp_udp_encap_recv() local 91 proto = htons(ETH_P_IP); in bareudp_udp_encap_recv() 93 proto = htons(ETH_P_IPV6); in bareudp_udp_encap_recv() 104 proto = bareudp->ethertype; in bareudp_udp_encap_recv() 107 proto = htons(ETH_P_MPLS_MC); in bareudp_udp_encap_recv() 120 proto = bareudp->ethertype; in bareudp_udp_encap_recv() 123 proto = htons(ETH_P_MPLS_MC); in bareudp_udp_encap_recv() 130 proto = bareudp->ethertype; in bareudp_udp_encap_recv() 134 proto, in bareudp_udp_encap_recv() 417 if (bareudp->ethertype == proto) in bareudp_proto_valid() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum2_mr_tcam.c | 23 enum mlxsw_sp_l3proto proto) in mlxsw_sp2_mr_tcam_proto_ruleset() argument 25 switch (proto) { in mlxsw_sp2_mr_tcam_proto_ruleset() 197 switch (key->proto) { in mlxsw_sp2_mr_tcam_rule_parse() 219 ruleset = mlxsw_sp2_mr_tcam_proto_ruleset(mr_tcam, key->proto); in mlxsw_sp2_mr_tcam_route_create() 250 ruleset = mlxsw_sp2_mr_tcam_proto_ruleset(mr_tcam, key->proto); in mlxsw_sp2_mr_tcam_route_destroy() 274 ruleset = mlxsw_sp2_mr_tcam_proto_ruleset(mr_tcam, key->proto); in mlxsw_sp2_mr_tcam_route_update()
|
H A D | spectrum1_mr_tcam.c | 35 switch (key->proto) { in mlxsw_sp1_mr_tcam_route_replace() 67 switch (key->proto) { in mlxsw_sp1_mr_tcam_route_remove() 84 enum mlxsw_sp_l3proto proto) in mlxsw_sp1_mr_tcam_protocol_region() argument 86 return &mr_tcam->tcam_regions[proto]; in mlxsw_sp1_mr_tcam_protocol_region() 98 tcam_region = mlxsw_sp1_mr_tcam_protocol_region(mr_tcam, key->proto); in mlxsw_sp1_mr_tcam_route_parman_item_add() 116 tcam_region = mlxsw_sp1_mr_tcam_protocol_region(mr_tcam, key->proto); in mlxsw_sp1_mr_tcam_route_parman_item_remove()
|
/openbmc/linux/net/dsa/ |
H A D | tag.h | 56 u16 vid, pvid, proto; in dsa_untag_bridge_pvid() local 62 err = br_vlan_get_proto(br, &proto); in dsa_untag_bridge_pvid() 67 if (!skb_vlan_tag_present(skb) && skb->protocol == htons(proto)) { in dsa_untag_bridge_pvid() 97 upper_dev = __vlan_find_dev_deep_rcu(br, htons(proto), vid); in dsa_untag_bridge_pvid()
|
H A D | tag_sja1105.c | 178 u16 proto; in sja1105_xmit_tpid() local 200 br_vlan_get_proto(br, &proto); in sja1105_xmit_tpid() 202 return proto; in sja1105_xmit_tpid() 713 static void sja1105_flow_dissect(const struct sk_buff *skb, __be16 *proto, in sja1105_flow_dissect() argument 720 dsa_tag_generic_flow_dissect(skb, proto, offset); in sja1105_flow_dissect() 723 static void sja1110_flow_dissect(const struct sk_buff *skb, __be16 *proto, in sja1110_flow_dissect() argument 730 return dsa_tag_generic_flow_dissect(skb, proto, offset); in sja1110_flow_dissect() 734 *proto = ((__be16 *)skb->data)[(VLAN_HLEN / 2) - 1]; in sja1110_flow_dissect() 774 .proto = DSA_TAG_PROTO_SJA1105, 789 .proto = DSA_TAG_PROTO_SJA1110,
|
/openbmc/linux/net/ipv6/ |
H A D | exthdrs.c | 1100 phdr->rt_hdr.nexthdr = *proto; in ipv6_push_rthdr0() 1101 *proto = NEXTHDR_ROUTING; in ipv6_push_rthdr0() 1149 sr_phdr->nexthdr = *proto; in ipv6_push_rthdr4() 1150 *proto = NEXTHDR_ROUTING; in ipv6_push_rthdr4() 1161 ipv6_push_rthdr0(skb, proto, opt, addr_p, saddr); in ipv6_push_rthdr() 1164 ipv6_push_rthdr4(skb, proto, opt, addr_p, saddr); in ipv6_push_rthdr() 1176 h->nexthdr = *proto; in ipv6_push_exthdr() 1177 *proto = type; in ipv6_push_exthdr() 1181 u8 *proto, in ipv6_push_nfrag_opts() argument 1185 ipv6_push_rthdr(skb, proto, opt->srcrt, daddr, saddr); in ipv6_push_nfrag_opts() [all …]
|
/openbmc/linux/Documentation/networking/ |
H A D | vrf.rst | 322 10.2.1.0/24 dev eth1 proto kernel scope link src 10.2.1.2 326 10.2.2.0/24 dev eth2 proto kernel scope link src 10.2.2.2 331 local 2002:1:: dev lo proto none metric 0 pref medium 332 local 2002:1::2 dev lo proto none metric 0 pref medium 333 2002:1::/120 dev eth1 proto kernel metric 256 pref medium 334 local 2002:2:: dev lo proto none metric 0 pref medium 335 local 2002:2::2 dev lo proto none metric 0 pref medium 337 local fe80:: dev lo proto none metric 0 pref medium 338 local fe80:: dev lo proto none metric 0 pref medium 341 fe80::/64 dev eth1 proto kernel metric 256 pref medium [all …]
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/abm/ |
H A D | cls.c | 22 __be16 proto, struct netlink_ext_ack *extack) in nfp_abm_u32_check_knode() argument 67 switch (proto) { in nfp_abm_u32_check_knode() 172 __be16 proto, struct netlink_ext_ack *extack) in nfp_abm_u32_knode_replace() argument 179 if (!nfp_abm_u32_check_knode(alink->abm, knode, proto, extack)) in nfp_abm_u32_knode_replace() 182 tos_off = proto == htons(ETH_P_IP) ? 16 : 20; in nfp_abm_u32_knode_replace()
|
/openbmc/openbmc/poky/bitbake/lib/bb/fetch2/ |
H A D | svn.py | 73 proto = ud.parm.get('protocol', 'svn') 76 if proto == "svn+ssh" and "ssh" in ud.parm: 92 … svncmd = "%s info %s %s://%s/%s/" % (ud.basecmd, " ".join(options), proto, svnroot, ud.module) 94 …s log --limit 1 --quiet %s %s://%s/%s/" % (ud.basecmd, " ".join(options), proto, svnroot, ud.modul… 111 …svncmd = "%s co %s %s://%s%s/%s%s %s" % (ud.basecmd, " ".join(options), proto, transportuser, svnr…
|
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | tc_police_occ.sh | 70 tc filter add dev $swp1 ingress pref 1 handle 101 proto ip \ 80 tc filter add dev $swp1 ingress pref 1 handle 101 proto ip \ 84 tc filter add dev $swp1 ingress pref 2 handle 102 proto ip \
|
/openbmc/linux/lib/ |
H A D | checksum.c | 159 __u32 len, __u8 proto, __wsum sum) in csum_tcpudp_nofold() argument 166 s += proto + len; in csum_tcpudp_nofold() 168 s += (proto + len) << 8; in csum_tcpudp_nofold()
|
/openbmc/google-misc/subprojects/nemora-postd/ |
H A D | meson.build | 34 proto = custom_target( variable 46 input: 'event_message.proto') 55 proto,
|
/openbmc/linux/tools/testing/selftests/net/forwarding/ |
H A D | mirror_lib.sh | 40 local proto=-6 43 local proto= 48 $MZ $proto $vrf_name ${sip:+-A $sip} -B $dip -a own -b bc -q \
|
/openbmc/linux/drivers/net/wan/ |
H A D | hdlc_x25.c | 268 static struct hdlc_proto proto = { variable 287 if (dev_to_hdlc(dev)->proto != &proto) in x25_ioctl() 340 result = attach_hdlc_protocol(dev, &proto, in x25_ioctl() 370 register_hdlc_protocol(&proto); in hdlc_x25_init() 376 unregister_hdlc_protocol(&proto); in hdlc_x25_exit()
|
/openbmc/linux/net/ceph/ |
H A D | ceph_strings.c | 21 const char *ceph_auth_proto_name(int proto) in ceph_auth_proto_name() argument 23 switch (proto) { in ceph_auth_proto_name()
|
/openbmc/linux/net/sched/ |
H A D | act_ctinfo.c | 32 struct sk_buff *skb, int wlen, int proto) in tcf_ctinfo_dscp_set() argument 39 switch (proto) { in tcf_ctinfo_dscp_set() 90 int proto, wlen; in tcf_ctinfo_act() local 106 proto = NFPROTO_IPV4; in tcf_ctinfo_act() 113 proto = NFPROTO_IPV6; in tcf_ctinfo_act() 122 proto, cp->net, &tuple)) in tcf_ctinfo_act() 136 tcf_ctinfo_dscp_set(ct, ca, cp, skb, wlen, proto); in tcf_ctinfo_act()
|
/openbmc/linux/net/hsr/ |
H A D | hsr_netlink.c | 37 u8 proto = HSR_PROTOCOL_HSR; in hsr_newlink() local 76 proto = nla_get_u8(data[IFLA_HSR_PROTOCOL]); in hsr_newlink() 78 if (proto >= HSR_PROTOCOL_MAX) { in hsr_newlink() 86 if (proto == HSR_PROTOCOL_PRP) { in hsr_newlink() 99 if (proto == HSR_PROTOCOL_PRP) in hsr_newlink() 124 u8 proto = HSR_PROTOCOL_HSR; in hsr_fill_info() local 144 proto = HSR_PROTOCOL_PRP; in hsr_fill_info() 145 if (nla_put_u8(skb, IFLA_HSR_PROTOCOL, proto)) in hsr_fill_info()
|
H A D | hsr_forward.h | 27 int prp_fill_frame_info(__be16 proto, struct sk_buff *skb, 29 int hsr_fill_frame_info(__be16 proto, struct sk_buff *skb,
|
/openbmc/linux/net/can/ |
H A D | af_can.c | 735 int proto = cp->protocol; in can_proto_register() local 738 if (proto < 0 || proto >= CAN_NPROTO) { in can_proto_register() 739 pr_err("can: protocol number %d out of range\n", proto); in can_proto_register() 749 if (rcu_access_pointer(proto_tab[proto])) { in can_proto_register() 750 pr_err("can: protocol %d already registered\n", proto); in can_proto_register() 753 RCU_INIT_POINTER(proto_tab[proto], cp); in can_proto_register() 771 int proto = cp->protocol; in can_proto_unregister() local 774 BUG_ON(rcu_access_pointer(proto_tab[proto]) != cp); in can_proto_unregister() 775 RCU_INIT_POINTER(proto_tab[proto], NULL); in can_proto_unregister()
|
/openbmc/linux/include/uapi/linux/ |
H A D | ip6_tunnel.h | 30 __u8 proto; /* tunnel protocol */ member 42 __u8 proto; /* tunnel protocol */ member
|
/openbmc/linux/drivers/net/ethernet/mscc/ |
H A D | ocelot_ptp.c | 328 trap->key.ipv4.proto.value[0] = IPPROTO_UDP; in ocelot_populate_ipv4_ptp_event_trap_key() 329 trap->key.ipv4.proto.mask[0] = 0xff; in ocelot_populate_ipv4_ptp_event_trap_key() 338 trap->key.ipv6.proto.value[0] = IPPROTO_UDP; in ocelot_populate_ipv6_ptp_event_trap_key() 339 trap->key.ipv6.proto.mask[0] = 0xff; in ocelot_populate_ipv6_ptp_event_trap_key() 348 trap->key.ipv4.proto.value[0] = IPPROTO_UDP; in ocelot_populate_ipv4_ptp_general_trap_key() 349 trap->key.ipv4.proto.mask[0] = 0xff; in ocelot_populate_ipv4_ptp_general_trap_key() 358 trap->key.ipv6.proto.value[0] = IPPROTO_UDP; in ocelot_populate_ipv6_ptp_general_trap_key() 359 trap->key.ipv6.proto.mask[0] = 0xff; in ocelot_populate_ipv6_ptp_general_trap_key() 488 if ((proto & OCELOT_PROTO_PTP_L2) && (proto & OCELOT_PROTO_PTP_L4)) in ocelot_traps_to_ptp_rx_filter() 490 else if (proto & OCELOT_PROTO_PTP_L2) in ocelot_traps_to_ptp_rx_filter() [all …]
|