Lines Matching refs:header
84 u_int16_t length; /* message length in octets, including header */
92 struct pptp_header header;
108 struct pptp_header header;
116 struct pptp_header header;
122 struct pptp_header header;
130 struct pptp_header header;
146 struct pptp_header header;
159 struct pptp_header header;
172 struct pptp_header header;
183 struct pptp_header header;
193 struct pptp_header header;
199 struct pptp_header header;
209 struct pptp_header header;
221 struct pptp_header header;
229 #define pptp_isvalid_ctrl(header, type, length) \
230 (!( ( ntoh16(((struct pptp_header *)header)->length) < (length) ) || \
231 ( ntoh16(((struct pptp_header *)header)->pptp_type) !=(type) ) || \
232 ( ntoh32(((struct pptp_header *)header)->magic) !=PPTP_MAGIC) || \
233 ( ntoh16(((struct pptp_header *)header)->ctrl_type) > PPTP_SET_LINK_INFO) || \
234 ( ntoh16(((struct pptp_header *)header)->reserved0) !=0 ) ))
275 /* gre header structure: -------------------------------------------- */
296 u_int16_t payload_len; /* size of ppp payload, not inc. gre header */