/openbmc/linux/net/bridge/ |
H A D | br_forward.c | 301 if (br_multicast_should_handle_mode(brmctx, mdst->addr.proto) && in br_multicast_flood()
|
H A D | br_switchdev.c | 530 if (mp->addr.proto == htons(ETH_P_IP)) in br_switchdev_mdb_populate() 533 else if (mp->addr.proto == htons(ETH_P_IPV6)) in br_switchdev_mdb_populate()
|
/openbmc/linux/net/dsa/ |
H A D | slave.c | 1756 static int dsa_slave_vlan_rx_add_vid(struct net_device *dev, __be16 proto, in dsa_slave_vlan_rx_add_vid() argument 1831 static int dsa_slave_vlan_rx_kill_vid(struct net_device *dev, __be16 proto, in dsa_slave_vlan_rx_kill_vid() argument 1891 __be16 proto = vdev ? vlan_dev_vlan_proto(vdev) : htons(ETH_P_8021Q); in dsa_slave_restore_vlan() local 1893 return dsa_slave_vlan_rx_add_vid(arg, proto, vid); in dsa_slave_restore_vlan() 1898 __be16 proto = vdev ? vlan_dev_vlan_proto(vdev) : htons(ETH_P_8021Q); in dsa_slave_clear_vlan() local 1900 return dsa_slave_vlan_rx_kill_vid(arg, proto, vid); in dsa_slave_clear_vlan() 2418 path->dsa.proto = cpu_dp->tag_ops->proto; in dsa_slave_fill_forward_path()
|
H A D | dsa.c | 581 if (tag_ops->proto == dst->default_proto) in dsa_switch_setup_tag_protocol() 585 err = ds->ops->change_tag_protocol(ds, tag_ops->proto); in dsa_switch_setup_tag_protocol() 601 err = ds->ops->connect_tag_protocol(ds, tag_ops->proto); in dsa_switch_setup_tag_protocol()
|
/openbmc/linux/tools/testing/selftests/net/forwarding/ |
H A D | vxlan_bridge_1d_ipv6.sh | 469 proto ipv6 pref 100 flower dst_ip $dst_ip ip_proto \ 472 proto ipv6 pref 100 flower dst_ip $dst_ip ip_proto \
|
H A D | vxlan_bridge_1q_ipv6.sh | 589 proto ipv6 pref 100 flower dst_ip $dst_ip ip_proto \ 592 proto ipv6 pref 100 flower dst_ip $dst_ip ip_proto \
|
/openbmc/linux/arch/um/drivers/ |
H A D | vector_user.c | 161 static int create_raw_fd(char *iface, int flags, int proto) in create_raw_fd() argument 181 sock.sll_protocol = htons(proto); in create_raw_fd()
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hnae3.h | 696 int (*set_vlan_filter)(struct hnae3_handle *handle, __be16 proto, 699 u16 vlan, u8 qos, __be16 proto);
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | action.c | 57 push_mpls->ethtype = act->mpls_push.proto; in nfp_fl_push_mpls() 71 pop_mpls->ethtype = act->mpls_pop.proto; in nfp_fl_pop_mpls() 124 push_vlan->vlan_tpid = act->vlan.proto; in nfp_fl_push_vlan()
|
H A D | match.c | 216 ext->proto |= match.key->ip_proto & match.mask->ip_proto; in nfp_flower_compile_ip_ext() 217 msk->proto |= match.mask->ip_proto; in nfp_flower_compile_ip_ext()
|
/openbmc/linux/net/netfilter/ipvs/ |
H A D | ip_vs_conn.c | 106 static unsigned int ip_vs_conn_hashkey(struct netns_ipvs *ipvs, int af, unsigned int proto, in ip_vs_conn_hashkey() argument 113 (__force u32)port, proto, ip_vs_conn_rnd) ^ in ip_vs_conn_hashkey() 116 return (jhash_3words((__force u32)addr->ip, (__force u32)port, proto, in ip_vs_conn_hashkey()
|
/openbmc/linux/net/bluetooth/ |
H A D | sco.c | 494 static struct proto sco_proto = { 501 int proto, gfp_t prio, int kern) in sco_sock_alloc() argument 505 sk = bt_sock_alloc(net, sock, &sco_proto, proto, prio, kern); in sco_sock_alloc()
|
H A D | l2cap_sock.c | 48 int proto, gfp_t prio, int kern); 1864 static struct proto l2cap_proto = { 1871 int proto, gfp_t prio, int kern) in l2cap_sock_alloc() argument 1876 sk = bt_sock_alloc(net, sock, &l2cap_proto, proto, prio, kern); in l2cap_sock_alloc()
|
/openbmc/linux/drivers/tty/serial/ |
H A D | qcom_geni_serial.c | 1106 u32 proto; in qcom_geni_serial_port_setup() local 1110 proto = geni_se_read_proto(&port->se); in qcom_geni_serial_port_setup() 1111 if (proto != GENI_SE_UART) { in qcom_geni_serial_port_setup() 1112 dev_err(uport->dev, "Invalid FW loaded, proto: %d\n", proto); in qcom_geni_serial_port_setup()
|
/openbmc/linux/drivers/net/dsa/ocelot/ |
H A D | felix.c | 668 enum dsa_tag_protocol proto) in felix_change_tag_protocol() argument 675 switch (proto) { in felix_change_tag_protocol() 704 felix->tag_proto = proto; in felix_change_tag_protocol() 1536 enum dsa_tag_protocol proto) in felix_connect_tag_protocol() argument 1540 switch (proto) { in felix_connect_tag_protocol()
|
/openbmc/linux/drivers/input/mouse/ |
H A D | vsxxxaa.c | 515 .proto = SERIO_VSXXXAA,
|
/openbmc/linux/net/smc/ |
H A D | smc_diag.c | 191 static int smc_diag_dump_proto(struct proto *prot, struct sk_buff *skb, in smc_diag_dump_proto()
|
/openbmc/linux/include/trace/events/ |
H A D | sock.h | 95 TP_PROTO(struct sock *sk, struct proto *prot, long allocated, int kind),
|
/openbmc/linux/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_sockopt.c | 223 const char * const port, int proto) in sock_connect_mptcp() argument 236 sock = socket(a->ai_family, a->ai_socktype, proto); in sock_connect_mptcp()
|
/openbmc/linux/net/sunrpc/ |
H A D | rpcb_clnt.c | 369 int proto, u32 version, in rpcb_create() argument 375 .protocol = proto, in rpcb_create()
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | tc_encap_actions.c | 249 static void efx_gen_tun_header_eth(struct efx_tc_encap_action *encap, u16 proto) in efx_gen_tun_header_eth() argument 262 eth->h_proto = htons(proto); in efx_gen_tun_header_eth()
|
/openbmc/linux/drivers/net/ethernet/sfc/siena/ |
H A D | net_driver.h | 1429 int (*vlan_rx_add_vid)(struct efx_nic *efx, __be16 proto, u16 vid); 1430 int (*vlan_rx_kill_vid)(struct efx_nic *efx, __be16 proto, u16 vid);
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_main.h | 817 __le16 proto; member 1108 int hclge_set_vlan_filter(struct hnae3_handle *handle, __be16 proto,
|
/openbmc/linux/drivers/net/ |
H A D | macvlan.c | 1004 __be16 proto, u16 vid) in macvlan_vlan_rx_add_vid() argument 1009 return vlan_vid_add(lowerdev, proto, vid); in macvlan_vlan_rx_add_vid() 1013 __be16 proto, u16 vid) in macvlan_vlan_rx_kill_vid() argument 1018 vlan_vid_del(lowerdev, proto, vid); in macvlan_vlan_rx_kill_vid()
|
/openbmc/linux/net/ipv4/netfilter/ |
H A D | ip_tables.c | 68 if (ipinfo->proto && in ip_packet_match() 69 NF_INVF(ipinfo, IPT_INV_PROTO, ip->protocol != ipinfo->proto)) in ip_packet_match() 472 ip->proto, ip->invflags & IPT_INV_PROTO); in check_match() 511 e->ip.proto, e->ip.invflags & IPT_INV_PROTO); in check_target()
|