Searched refs:pppoe_hdr (Results 1 – 11 of 11) sorted by relevance
19 static inline struct pppoe_hdr *pppoe_hdr(const struct sk_buff *skb) in pppoe_hdr() function21 return (struct pppoe_hdr *)skb_network_header(skb); in pppoe_hdr()
416 struct pppoe_hdr *ph; in pppoe_rcv()428 if (!pskb_may_pull(skb, sizeof(struct pppoe_hdr))) in pppoe_rcv()431 ph = pppoe_hdr(skb); in pppoe_rcv()441 ph = pppoe_hdr(skb); in pppoe_rcv()485 struct pppoe_hdr *ph; in pppoe_disc_rcv()496 if (!pskb_may_pull(skb, sizeof(struct pppoe_hdr))) in pppoe_disc_rcv()499 ph = pppoe_hdr(skb); in pppoe_disc_rcv()690 po->chan.hdrlen = (sizeof(struct pppoe_hdr) + in pppoe_connect()693 po->chan.mtu = dev->mtu - sizeof(struct pppoe_hdr) - 2; in pppoe_connect()752 sizeof(struct pppoe_hdr) - in pppoe_ioctl()[all …]
140 struct pppoe_hdr { struct
121 struct ice_tc_pppoe_hdr pppoe_hdr; member
421 struct ice_pppoe_hdr pppoe_hdr; member
464 vals = &list[i].h_u.pppoe_hdr; in ice_tc_fill_rules()465 masks = &list[i].m_u.pppoe_hdr; in ice_tc_fill_rules()470 vals->session_id = headers->pppoe_hdr.session_id; in ice_tc_fill_rules()475 vals->ppp_prot_id = headers->pppoe_hdr.ppp_proto; in ice_tc_fill_rules()1078 headers->pppoe_hdr.session_id = match->key->session_id; in ice_tc_set_pppoe()1083 headers->pppoe_hdr.ppp_proto = match->key->ppp_proto; in ice_tc_set_pppoe()
5626 if (lkups[i].h_u.pppoe_hdr.ppp_prot_id == in ice_find_dummy_packet()
343 sizeof(struct pppoe_hdr))); in nf_flow_pppoe_proto()
145 struct pppoe_hdr *phdr; in nf_flow_tuple_encap()160 phdr = (struct pppoe_hdr *)skb_mac_header(skb); in nf_flow_tuple_encap()
1000 static bool is_pppoe_ses_hdr_valid(const struct pppoe_hdr *hdr) in is_pppoe_ses_hdr_valid()1327 struct pppoe_hdr hdr; in __skb_flow_dissect()
115 sizeof(struct pppoe_hdr))); in pppoe_proto()