Home
last modified time | relevance | path

Searched refs:proto_num (Results 1 – 4 of 4) sorted by relevance

/linux-6.3-rc2/drivers/net/ppp/
A Dpppox.c37 int register_pppox_proto(int proto_num, const struct pppox_proto *pp) in register_pppox_proto() argument
39 if (proto_num < 0 || proto_num > PX_MAX_PROTO) in register_pppox_proto()
41 if (pppox_protos[proto_num]) in register_pppox_proto()
43 pppox_protos[proto_num] = pp; in register_pppox_proto()
47 void unregister_pppox_proto(int proto_num) in unregister_pppox_proto() argument
49 if (proto_num >= 0 && proto_num <= PX_MAX_PROTO) in unregister_pppox_proto()
50 pppox_protos[proto_num] = NULL; in unregister_pppox_proto()
/linux-6.3-rc2/drivers/infiniband/hw/ocrdma/
A Docrdma_ah.c81 u16 proto_num = 0; in set_av_attr() local
94 proto_num = ocrdma_hdr_type_to_proto_num(dev->id, ah->hdr_type); in set_av_attr()
95 if (!proto_num) in set_av_attr()
97 nxthdr = (proto_num == ETH_P_IBOE) ? 0x1b : 0x11; in set_av_attr()
109 eth.roce_eth_type = cpu_to_be16(proto_num); in set_av_attr()
115 eth.eth_type = cpu_to_be16(proto_num); in set_av_attr()
/linux-6.3-rc2/include/linux/
A Dif_pppox.h77 extern int register_pppox_proto(int proto_num, const struct pppox_proto *pp);
78 extern void unregister_pppox_proto(int proto_num);
/linux-6.3-rc2/drivers/net/arcnet/
A Darcnet.c650 uint8_t _daddr, proto_num; in arcnet_header() local
684 proto_num = lp->default_proto[_daddr]; in arcnet_header()
685 proto = arc_proto_map[proto_num]; in arcnet_header()
687 proto_num, proto->suffix); in arcnet_header()

Completed in 9 milliseconds