Lines Matching defs:lh
1412 struct lcp_header *lh;
1428 lh = (struct lcp_header*) (h + 1);
1429 lh->type = type;
1430 lh->ident = ident;
1431 lh->len = htons (LCP_HEADER_LEN + len);
1433 bcopy (data, lh+1, len);
1439 sppp_cp_type_name (lh->type), lh->ident,
1440 ntohs (lh->len));
1441 sppp_print_bytes ((u_char*) (lh+1), len);
4691 struct lcp_header *lh;
4709 lh = (struct lcp_header*)(h + 1);
4710 lh->type = type;
4711 lh->ident = id;
4712 p = (u_char*) (lh+1);
4732 lh->len = htons (LCP_HEADER_LEN + len);
4737 sppp_auth_type_name(cp->proto, lh->type),
4738 lh->ident, ntohs(lh->len));
4739 sppp_print_bytes((u_char*) (lh+1), len);