Lines Matching defs:p_in
16 struct pppoe_packet *p_in,
21 poe_dbglog(ses,"Srv Recv'd packet: %P\n",p_in);
28 tag = get_tag(p_in->hdr,PTT_SRV_NAME);
43 ses->curr_pkt.tags[ TAG_HOST_UNIQ ] = get_tag(p_in->hdr,PTT_HOST_UNIQ);
45 memcpy(&ses->remote, &p_in->addr, sizeof(struct sockaddr_ll));
51 ses->curr_pkt.tags[ TAG_RELAY_SID ] = get_tag(p_in->hdr,PTT_RELAY_SID);
61 struct pppoe_packet *p_in,
65 poe_dbglog(ses,"Recv'd packet: %P\n",p_in);
72 tag = get_tag(p_in->hdr,PTT_SRV_NAME);
75 p_in->tags[TAG_SRV_NAME] = ses->filt->stag;
81 p_in->tags[TAG_SRV_NAME] = tag;
84 tag = get_tag(p_in->hdr,PTT_AC_NAME);
86 p_in->tags[TAG_AC_NAME] = ses->filt->ntag;
91 p_in->tags[TAG_AC_NAME] = tag;
102 p_in->hdr->sid = ntohs(pcid);
104 p_in->hdr->code = PADS_CODE;
105 send_disc(ses, p_in);
107 poe_dbglog(ses,"Sent packet: %P\n",p_in);
111 ses->sp.sa_addr.pppoe.sid = p_in->hdr->sid;
113 memcpy(ses->sp.sa_addr.pppoe.remote, p_in->addr.sll_addr, ETH_ALEN);
114 memcpy(&ses->remote, &p_in->addr, sizeof(struct sockaddr_ll));
119 struct pppoe_packet *p_in,