Searched refs:p_proto (Results 1 – 8 of 8) sorted by relevance
/linux-6.6.21/net/bridge/netfilter/ |
D | nft_meta_bridge.c | 52 u16 p_proto; in nft_meta_bridge_get_eval() local 58 br_vlan_get_proto(br_dev, &p_proto); in nft_meta_bridge_get_eval() 59 nft_reg_store_be16(dest, htons(p_proto)); in nft_meta_bridge_get_eval()
|
/linux-6.6.21/include/linux/ |
D | if_bridge.h | 119 int br_vlan_get_proto(const struct net_device *dev, u16 *p_proto); 138 static inline int br_vlan_get_proto(const struct net_device *dev, u16 *p_proto) in br_vlan_get_proto() argument
|
/linux-6.6.21/net/core/ |
D | flow_dissector.c | 633 __be16 *p_proto, int *p_nhoff, int *p_hlen, in __skb_flow_dissect_gre() argument 655 *p_proto = hdr->protocol; in __skb_flow_dissect_gre() 658 if (!(*p_proto == GRE_PROTO_PPP && (hdr->flags & GRE_KEY))) in __skb_flow_dissect_gre() 695 if (*p_proto == htons(ETH_P_TEB)) { in __skb_flow_dissect_gre() 704 *p_proto = eth->h_proto; in __skb_flow_dissect_gre() 729 *p_proto = htons(ETH_P_IP); in __skb_flow_dissect_gre() 732 *p_proto = htons(ETH_P_IPV6); in __skb_flow_dissect_gre() 772 const void *data, __be16 *p_proto, int *p_nhoff, in __skb_flow_dissect_batadv() argument 791 *p_proto = hdr->eth.h_proto; in __skb_flow_dissect_batadv()
|
/linux-6.6.21/drivers/net/ethernet/qlogic/qed/ |
D | qed_mcp.c | 2431 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.6.21/net/bridge/ |
D | br_vlan.c | 926 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.6.21/drivers/block/drbd/ |
D | drbd_receiver.c | 3633 int p_proto, p_discard_my_data, p_two_primaries, cf; in receive_protocol() local 3639 p_proto = be32_to_cpu(p->protocol); in receive_protocol() 3667 if (p_proto != nc->wire_protocol) { in receive_protocol() 3743 new_net_conf->wire_protocol = p_proto; in receive_protocol()
|
/linux-6.6.21/tools/testing/selftests/net/ |
D | nettest.c | 2087 args.protocol = pe->p_proto; in main()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/ |
D | reg.h | 748 enum mlxsw_reg_sfn_uc_tunnel_protocol *p_proto) in mlxsw_reg_sfn_uc_tunnel_unpack() argument 757 *p_proto = mlxsw_reg_sfn_uc_tunnel_protocol_get(payload, rec_index); in mlxsw_reg_sfn_uc_tunnel_unpack()
|