Searched refs:pppoe_hdr (Results 1 – 12 of 12) 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 …]
50 static unsigned char *__nat25_find_pppoe_tag(struct pppoe_hdr *ph, unsigned short type) in __nat25_find_pppoe_tag()70 struct pppoe_hdr *ph = (struct pppoe_hdr *)(skb->data + ETH_HLEN); in __nat25_add_pppoe_tag()435 struct pppoe_hdr *ph = (struct pppoe_hdr *)(skb->data + ETH_HLEN); in nat25_db_handle()
140 struct pppoe_hdr { struct
107 struct ice_tc_pppoe_hdr pppoe_hdr; member
244 struct ice_pppoe_hdr pppoe_hdr; member
447 vals = &list[i].h_u.pppoe_hdr; in ice_tc_fill_rules()448 masks = &list[i].m_u.pppoe_hdr; in ice_tc_fill_rules()453 vals->session_id = headers->pppoe_hdr.session_id; in ice_tc_fill_rules()458 vals->ppp_prot_id = headers->pppoe_hdr.ppp_proto; in ice_tc_fill_rules()877 headers->pppoe_hdr.session_id = match->key->session_id; in ice_tc_set_pppoe()882 headers->pppoe_hdr.ppp_proto = match->key->ppp_proto; in ice_tc_set_pppoe()
5660 if (lkups[i].h_u.pppoe_hdr.ppp_prot_id == in ice_find_dummy_packet()
330 sizeof(struct pppoe_hdr))); in nf_flow_pppoe_proto()
144 struct pppoe_hdr *phdr; in nf_flow_tuple_encap()159 phdr = (struct pppoe_hdr *)skb_mac_header(skb); in nf_flow_tuple_encap()
922 static bool is_pppoe_ses_hdr_valid(const struct pppoe_hdr *hdr) in is_pppoe_ses_hdr_valid()1247 struct pppoe_hdr hdr; in __skb_flow_dissect()
111 sizeof(struct pppoe_hdr))); in pppoe_proto()