Home
last modified time | relevance | path

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

/kernel/liteos_a/testsuites/unittest/net/netdb/smoke/
Dnet_netdb_test_001.cpp42 ICUNIT_ASSERT_EQUAL(prot->p_proto, 1, prot->p_proto); in ProtoentTest()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/include/linux/
Dif_bridge.h101 int br_vlan_get_proto(const struct net_device *dev, u16 *p_proto);
115 static inline int br_vlan_get_proto(const struct net_device *dev, u16 *p_proto) in br_vlan_get_proto() argument
/kernel/linux/linux-5.10/net/core/
Dflow_dissector.c521 __be16 *p_proto, int *p_nhoff, int *p_hlen, in __skb_flow_dissect_gre() argument
543 *p_proto = hdr->protocol; in __skb_flow_dissect_gre()
546 if (!(*p_proto == GRE_PROTO_PPP && (hdr->flags & GRE_KEY))) in __skb_flow_dissect_gre()
583 if (*p_proto == htons(ETH_P_TEB)) { in __skb_flow_dissect_gre()
592 *p_proto = eth->h_proto; in __skb_flow_dissect_gre()
617 *p_proto = htons(ETH_P_IP); in __skb_flow_dissect_gre()
620 *p_proto = htons(ETH_P_IPV6); in __skb_flow_dissect_gre()
660 void *data, __be16 *p_proto, int *p_nhoff, int hlen, in __skb_flow_dissect_batadv() argument
679 *p_proto = hdr->eth.h_proto; in __skb_flow_dissect_batadv()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_mcp.c2381 enum qed_pci_personality *p_proto) in qed_mcp_get_shmem_proto_legacy() argument
2387 *p_proto = QED_PCI_ETH_ROCE; in qed_mcp_get_shmem_proto_legacy()
2389 *p_proto = QED_PCI_ETH; in qed_mcp_get_shmem_proto_legacy()
2393 (u32) *p_proto); in qed_mcp_get_shmem_proto_legacy()
2399 enum qed_pci_personality *p_proto) in qed_mcp_get_shmem_proto_mfw() argument
2417 *p_proto = QED_PCI_ETH; in qed_mcp_get_shmem_proto_mfw()
2420 *p_proto = QED_PCI_ETH_ROCE; in qed_mcp_get_shmem_proto_mfw()
2423 *p_proto = QED_PCI_ETH_IWARP; in qed_mcp_get_shmem_proto_mfw()
2426 *p_proto = QED_PCI_ETH_RDMA; in qed_mcp_get_shmem_proto_mfw()
2438 (u32) *p_proto, resp, param); in qed_mcp_get_shmem_proto_mfw()
[all …]
/kernel/liteos_m/kal/libc/newlib/porting/include/
Dnetdb.h134 int p_proto; member
/kernel/linux/linux-5.10/net/bridge/
Dbr_vlan.c846 int br_vlan_get_proto(const struct net_device *dev, u16 *p_proto) in br_vlan_get_proto() argument
850 *p_proto = ntohs(br->vlan_proto); in br_vlan_get_proto()
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dnettest.c1676 args.protocol = pe->p_proto; in main()
/kernel/linux/linux-5.10/drivers/block/drbd/
Ddrbd_receiver.c3671 int p_proto, p_discard_my_data, p_two_primaries, cf; in receive_protocol() local
3677 p_proto = be32_to_cpu(p->protocol); in receive_protocol()
3705 if (p_proto != nc->wire_protocol) { in receive_protocol()
3783 new_net_conf->wire_protocol = p_proto; in receive_protocol()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dreg.h759 enum mlxsw_reg_sfn_uc_tunnel_protocol *p_proto) in mlxsw_reg_sfn_uc_tunnel_unpack() argument
768 *p_proto = mlxsw_reg_sfn_uc_tunnel_protocol_get(payload, rec_index); in mlxsw_reg_sfn_uc_tunnel_unpack()