Searched refs:obj_hdr (Results 1 – 2 of 2) sorted by relevance
138 struct icmp_ext_obj_hdr obj_hdr; member173 mpls_icmp_ext.obj_hdr.length = htons(sizeof(union mpls_shim) + in mpls_icmp_error()175 mpls_icmp_ext.obj_hdr.class_num = MPLS_STACK_ENTRY_CLASS; in mpls_icmp_error()176 mpls_icmp_ext.obj_hdr.c_type = MPLS_STACK_ENTRY_C_TYPE; in mpls_icmp_error()
1107 struct icmp_ext_obj_hdr *obj_hdr; in decode_extensions() local1157 obj_hdr = (struct icmp_ext_obj_hdr *)buf; in decode_extensions()1158 obj_len = ntohs(obj_hdr->length); in decode_extensions()1174 switch (obj_hdr->class_num) { in decode_extensions()1176 switch (obj_hdr->c_type) { in decode_extensions()1200 buf += ntohs(obj_hdr->length) - in decode_extensions()1210 buf += ntohs(obj_hdr->length) - in decode_extensions()