Lines Matching defs:lh
1385 struct lcp_header *lh;
1405 lh = (struct lcp_header *)(mtod(m, uint8_t *) + 2);
1412 lh = (struct lcp_header *)(h + 1);
1414 lh->type = type;
1415 lh->ident = ident;
1416 lh->len = htons(LCP_HEADER_LEN + len);
1418 memcpy(lh + 1, data, len);
1426 cpname = sppp_cp_type_name(tbuf, sizeof(tbuf), lh->type);
1428 pname, cpname, lh->ident, ntohs(lh->len));
1430 sppp_print_bytes((u_char *)(lh + 1), len);
5267 struct lcp_header *lh;
5288 lh = (struct lcp_header *)(mtod(m, uint8_t *)+2);
5297 lh = (struct lcp_header *)(h + 1);
5300 lh->type = type;
5301 lh->ident = id;
5302 p = (u_char *)(lh + 1);
5322 lh->len = htons(LCP_HEADER_LEN + len);
5329 sizeof(abuf), cp->proto, lh->type);
5332 lh->ident, ntohs(lh->len));
5334 sppp_print_bytes((u_char *)(lh + 1), len);