Home
last modified time | relevance | path

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

/linux-6.1.9/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_store_be16(dest, htons(p_proto)); in nft_meta_bridge_get_eval()
/linux-6.1.9/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-6.1.9/net/core/
Dflow_dissector.c555 __be16 *p_proto, int *p_nhoff, int *p_hlen, in __skb_flow_dissect_gre() argument
577 *p_proto = hdr->protocol; in __skb_flow_dissect_gre()
580 if (!(*p_proto == GRE_PROTO_PPP && (hdr->flags & GRE_KEY))) in __skb_flow_dissect_gre()
617 if (*p_proto == htons(ETH_P_TEB)) { in __skb_flow_dissect_gre()
626 *p_proto = eth->h_proto; in __skb_flow_dissect_gre()
651 *p_proto = htons(ETH_P_IP); in __skb_flow_dissect_gre()
654 *p_proto = htons(ETH_P_IPV6); in __skb_flow_dissect_gre()
694 const void *data, __be16 *p_proto, int *p_nhoff, in __skb_flow_dissect_batadv() argument
713 *p_proto = hdr->eth.h_proto; in __skb_flow_dissect_batadv()
/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/block/drbd/
Ddrbd_receiver.c3618 int p_proto, p_discard_my_data, p_two_primaries, cf; in receive_protocol() local
3624 p_proto = be32_to_cpu(p->protocol); in receive_protocol()
3652 if (p_proto != nc->wire_protocol) { in receive_protocol()
3728 new_net_conf->wire_protocol = p_proto; in receive_protocol()
/linux-6.1.9/tools/testing/selftests/net/
Dnettest.c2000 args.protocol = pe->p_proto; in main()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dreg.h757 enum mlxsw_reg_sfn_uc_tunnel_protocol *p_proto) in mlxsw_reg_sfn_uc_tunnel_unpack() argument
766 *p_proto = mlxsw_reg_sfn_uc_tunnel_protocol_get(payload, rec_index); in mlxsw_reg_sfn_uc_tunnel_unpack()