Home
last modified time | relevance | path

Searched refs:p_proto (Results 1 – 8 of 8) sorted by relevance

/linux-5.19.10/net/bridge/netfilter/
Dnft_meta_bridge.c49 u16 p_proto; in nft_meta_bridge_get_eval() local
55 br_vlan_get_proto(br_dev, &p_proto); in nft_meta_bridge_get_eval()
56 nft_reg_store16(dest, htons(p_proto)); in nft_meta_bridge_get_eval()
/linux-5.19.10/include/linux/
Dif_bridge.h117 int br_vlan_get_proto(const struct net_device *dev, u16 *p_proto);
136 static inline int br_vlan_get_proto(const struct net_device *dev, u16 *p_proto) in br_vlan_get_proto() argument
/linux-5.19.10/net/core/
Dflow_dissector.c531 __be16 *p_proto, int *p_nhoff, int *p_hlen, in __skb_flow_dissect_gre() argument
553 *p_proto = hdr->protocol; in __skb_flow_dissect_gre()
556 if (!(*p_proto == GRE_PROTO_PPP && (hdr->flags & GRE_KEY))) in __skb_flow_dissect_gre()
593 if (*p_proto == htons(ETH_P_TEB)) { in __skb_flow_dissect_gre()
602 *p_proto = eth->h_proto; in __skb_flow_dissect_gre()
627 *p_proto = htons(ETH_P_IP); in __skb_flow_dissect_gre()
630 *p_proto = htons(ETH_P_IPV6); in __skb_flow_dissect_gre()
670 const void *data, __be16 *p_proto, int *p_nhoff, in __skb_flow_dissect_batadv() argument
689 *p_proto = hdr->eth.h_proto; in __skb_flow_dissect_batadv()
/linux-5.19.10/drivers/net/ethernet/qlogic/qed/
Dqed_mcp.c2431 enum qed_pci_personality *p_proto) in qed_mcp_get_shmem_proto_legacy() argument
2437 *p_proto = QED_PCI_ETH_ROCE; in qed_mcp_get_shmem_proto_legacy()
2439 *p_proto = QED_PCI_ETH; in qed_mcp_get_shmem_proto_legacy()
2443 (u32)*p_proto); in qed_mcp_get_shmem_proto_legacy()
2449 enum qed_pci_personality *p_proto) in qed_mcp_get_shmem_proto_mfw() argument
2467 *p_proto = QED_PCI_ETH; in qed_mcp_get_shmem_proto_mfw()
2470 *p_proto = QED_PCI_ETH_ROCE; in qed_mcp_get_shmem_proto_mfw()
2473 *p_proto = QED_PCI_ETH_IWARP; in qed_mcp_get_shmem_proto_mfw()
2476 *p_proto = QED_PCI_ETH_RDMA; in qed_mcp_get_shmem_proto_mfw()
2488 (u32)*p_proto, resp, param); in qed_mcp_get_shmem_proto_mfw()
[all …]
/linux-5.19.10/net/bridge/
Dbr_vlan.c926 int br_vlan_get_proto(const struct net_device *dev, u16 *p_proto) in br_vlan_get_proto() argument
930 *p_proto = ntohs(br->vlan_proto); in br_vlan_get_proto()
/linux-5.19.10/drivers/block/drbd/
Ddrbd_receiver.c3622 int p_proto, p_discard_my_data, p_two_primaries, cf; in receive_protocol() local
3628 p_proto = be32_to_cpu(p->protocol); in receive_protocol()
3656 if (p_proto != nc->wire_protocol) { in receive_protocol()
3732 new_net_conf->wire_protocol = p_proto; in receive_protocol()
/linux-5.19.10/tools/testing/selftests/net/
Dnettest.c1991 args.protocol = pe->p_proto; in main()
/linux-5.19.10/drivers/net/ethernet/mellanox/mlxsw/
Dreg.h719 enum mlxsw_reg_sfn_uc_tunnel_protocol *p_proto) in mlxsw_reg_sfn_uc_tunnel_unpack() argument
728 *p_proto = mlxsw_reg_sfn_uc_tunnel_protocol_get(payload, rec_index); in mlxsw_reg_sfn_uc_tunnel_unpack()