Lines Matching defs:tag
32 struct pppoe_tag *tag = (struct pppoe_tag *) tag_buf;
35 tag->tag_type = PTT_RELAY_SID;
36 tag->tag_len = htons(ETH_ALEN + sizeof(struct session *));
38 memcpy(tag->tag_data, p_in->addr.sll_addr, ETH_ALEN);
39 memcpy(tag->tag_data + ETH_ALEN, &ses, sizeof(struct session *));
42 copy_tag(p_in, tag);
48 newpc = get_con( ntohs(tag->tag_len), tag->tag_data );
81 struct pppoe_tag *tag = p_in->tags[TAG_RELAY_SID];
83 if( !tag ) return 0;
85 pc = get_con(ntohs(tag->tag_len),tag->tag_data);
121 struct pppoe_tag *tag = p_in->tags[TAG_RELAY_SID];
131 if( !tag ) return 0;
133 pc = get_con(ntohs(tag->tag_len),tag->tag_data);
198 struct pppoe_tag *tag = p_in->tags[TAG_RELAY_SID];
200 if( !tag ) return 0;
202 pc = get_con(ntohs(tag->tag_len),tag->tag_data);