Annotation of embedaddon/libnet/doc/man/man3/libnet-headers.h.3, revision 1.1.1.1
1.1 misho 1: .TH "libnet-headers.h" 3 "10 Mar 2004" "libnet" \" -*- nroff -*-
2: .ad l
3: .nh
4: .SH NAME
5: libnet-headers.h \- libnet header information
6:
7: .SH SYNOPSIS
8: .br
9: .PP
10: .SS "Data Structures"
11:
12: .in +1c
13: .ti -1c
14: .RI "struct \fBlibnet_802_1q_hdr\fP"
15: .br
16: .ti -1c
17: .RI "struct \fBlibnet_802_1x_hdr\fP"
18: .br
19: .ti -1c
20: .RI "struct \fBlibnet_802_2_hdr\fP"
21: .br
22: .ti -1c
23: .RI "struct \fBlibnet_802_2snap_hdr\fP"
24: .br
25: .ti -1c
26: .RI "struct \fBlibnet_802_3_hdr\fP"
27: .br
28: .ti -1c
29: .RI "struct \fBlibnet_ah_hdr\fP"
30: .br
31: .ti -1c
32: .RI "struct \fBlibnet_arp_hdr\fP"
33: .br
34: .ti -1c
35: .RI "struct \fBlibnet_as_lsa_hdr\fP"
36: .br
37: .ti -1c
38: .RI "struct \fBlibnet_auth_hdr\fP"
39: .br
40: .ti -1c
41: .RI "struct \fBlibnet_bgp4_header_hdr\fP"
42: .br
43: .ti -1c
44: .RI "struct \fBlibnet_bgp4_notification_hdr\fP"
45: .br
46: .ti -1c
47: .RI "struct \fBlibnet_bgp4_open_hdr\fP"
48: .br
49: .ti -1c
50: .RI "struct \fBlibnet_cdp_hdr\fP"
51: .br
52: .ti -1c
53: .RI "struct \fBlibnet_cdp_value_hdr\fP"
54: .br
55: .ti -1c
56: .RI "struct \fBlibnet_dbd_hdr\fP"
57: .br
58: .ti -1c
59: .RI "struct \fBlibnet_dhcpv4_hdr\fP"
60: .br
61: .ti -1c
62: .RI "struct \fBlibnet_dnsv4_hdr\fP"
63: .br
64: .ti -1c
65: .RI "struct \fBlibnet_esp_ftr\fP"
66: .br
67: .ti -1c
68: .RI "struct \fBlibnet_esp_hdr\fP"
69: .br
70: .ti -1c
71: .RI "struct \fBlibnet_ether_addr\fP"
72: .br
73: .ti -1c
74: .RI "struct \fBlibnet_ethernet_hdr\fP"
75: .br
76: .ti -1c
77: .RI "struct \fBlibnet_fddi_addr\fP"
78: .br
79: .ti -1c
80: .RI "struct \fBlibnet_fddi_hdr\fP"
81: .br
82: .ti -1c
83: .RI "struct \fBlibnet_gre_hdr\fP"
84: .br
85: .ti -1c
86: .RI "struct \fBlibnet_gre_sre_hdr\fP"
87: .br
88: .ti -1c
89: .RI "struct \fBlibnet_icmpv4_hdr\fP"
90: .br
91: .ti -1c
92: .RI "struct \fBlibnet_icmpv6_hdr\fP"
93: .br
94: .ti -1c
95: .RI "struct \fBlibnet_igmp_hdr\fP"
96: .br
97: .ti -1c
98: .RI "struct \fBlibnet_in6_addr\fP"
99: .br
100: .ti -1c
101: .RI "struct \fBlibnet_ipv4_hdr\fP"
102: .br
103: .ti -1c
104: .RI "struct \fBlibnet_ipv6_destopts_hdr\fP"
105: .br
106: .ti -1c
107: .RI "struct \fBlibnet_ipv6_frag_hdr\fP"
108: .br
109: .ti -1c
110: .RI "struct \fBlibnet_ipv6_hbhopts_hdr\fP"
111: .br
112: .ti -1c
113: .RI "struct \fBlibnet_ipv6_hdr\fP"
114: .br
115: .ti -1c
116: .RI "struct \fBlibnet_ipv6_routing_hdr\fP"
117: .br
118: .ti -1c
119: .RI "struct \fBlibnet_isl_hdr\fP"
120: .br
121: .ti -1c
122: .RI "struct \fBlibnet_lsa_hdr\fP"
123: .br
124: .ti -1c
125: .RI "struct \fBlibnet_lsr_hdr\fP"
126: .br
127: .ti -1c
128: .RI "struct \fBlibnet_lsu_hdr\fP"
129: .br
130: .ti -1c
131: .RI "struct \fBlibnet_mpls_hdr\fP"
132: .br
133: .ti -1c
134: .RI "struct \fBlibnet_net_lsa_hdr\fP"
135: .br
136: .ti -1c
137: .RI "struct \fBlibnet_ntp_hdr\fP"
138: .br
139: .ti -1c
140: .RI "struct \fBlibnet_ntp_hdr_l_fp\fP"
141: .br
142: .ti -1c
143: .RI "struct \fBlibnet_ntp_hdr_s_fp\fP"
144: .br
145: .ti -1c
146: .RI "struct \fBlibnet_ospf_hdr\fP"
147: .br
148: .ti -1c
149: .RI "struct \fBlibnet_ospf_hello_hdr\fP"
150: .br
151: .ti -1c
152: .RI "struct \fBlibnet_rip_hdr\fP"
153: .br
154: .ti -1c
155: .RI "struct \fBlibnet_rpc_call\fP"
156: .br
157: .ti -1c
158: .RI "struct \fBlibnet_rpc_call_hdr\fP"
159: .br
160: .ti -1c
161: .RI "struct \fBlibnet_rpc_call_tcp_hdr\fP"
162: .br
163: .ti -1c
164: .RI "struct \fBlibnet_rpc_opaque_auth\fP"
165: .br
166: .ti -1c
167: .RI "struct \fBlibnet_rtr_lsa_hdr\fP"
168: .br
169: .ti -1c
170: .RI "struct \fBlibnet_sebek_hdr\fP"
171: .br
172: .ti -1c
173: .RI "struct \fBlibnet_stp_conf_hdr\fP"
174: .br
175: .ti -1c
176: .RI "struct \fBlibnet_stp_tcn_hdr\fP"
177: .br
178: .ti -1c
179: .RI "struct \fBlibnet_sum_lsa_hdr\fP"
180: .br
181: .ti -1c
182: .RI "struct \fBlibnet_tcp_hdr\fP"
183: .br
184: .ti -1c
185: .RI "struct \fBlibnet_token_ring_addr\fP"
186: .br
187: .ti -1c
188: .RI "struct \fBlibnet_token_ring_hdr\fP"
189: .br
190: .ti -1c
191: .RI "struct \fBlibnet_udp_hdr\fP"
192: .br
193: .ti -1c
194: .RI "struct \fBlibnet_vrrp_hdr\fP"
195: .br
196: .in -1c
197: .SS "Defines"
198:
199: .in +1c
200: .ti -1c
201: .RI "#define \fBLIBNET_802_1Q_H\fP 0x12"
202: .br
203: .ti -1c
204: .RI "#define \fBLIBNET_802_1X_H\fP 0x04"
205: .br
206: .ti -1c
207: .RI "#define \fBLIBNET_802_2_H\fP 0x03"
208: .br
209: .ti -1c
210: .RI "#define \fBLIBNET_802_2SNAP_H\fP 0x08"
211: .br
212: .ti -1c
213: .RI "#define \fBLIBNET_802_3_H\fP 0x0e"
214: .br
215: .ti -1c
216: .RI "#define \fBLIBNET_ARP_H\fP 0x08"
217: .br
218: .ti -1c
219: .RI "#define \fBLIBNET_ARP_ETH_IP_H\fP 0x1c"
220: .br
221: .ti -1c
222: .RI "#define \fBLIBNET_BGP4_HEADER_H\fP 0x13"
223: .br
224: .ti -1c
225: .RI "#define \fBLIBNET_BGP4_OPEN_H\fP 0x0a"
226: .br
227: .ti -1c
228: .RI "#define \fBLIBNET_BGP4_UPDATE_H\fP 0x04"
229: .br
230: .ti -1c
231: .RI "#define \fBLIBNET_BGP4_NOTIFICATION_H\fP 0x02"
232: .br
233: .ti -1c
234: .RI "#define \fBLIBNET_CDP_H\fP 0x08"
235: .br
236: .ti -1c
237: .RI "#define \fBLIBNET_DHCPV4_H\fP 0xf0"
238: .br
239: .ti -1c
240: .RI "#define \fBLIBNET_UDP_DNSV4_H\fP 0x0c"
241: .br
242: .ti -1c
243: .RI "#define \fBLIBNET_TCP_DNSV4_H\fP 0x0e"
244: .br
245: .ti -1c
246: .RI "#define \fBLIBNET_ETH_H\fP 0x0e"
247: .br
248: .ti -1c
249: .RI "#define \fBLIBNET_FDDI_H\fP 0x15"
250: .br
251: .ti -1c
252: .RI "#define \fBLIBNET_ICMPV4_H\fP 0x04"
253: .br
254: .ti -1c
255: .RI "#define \fBLIBNET_ICMPV4_ECHO_H\fP 0x08"
256: .br
257: .ti -1c
258: .RI "#define \fBLIBNET_ICMPV4_MASK_H\fP 0x0c"
259: .br
260: .ti -1c
261: .RI "#define \fBLIBNET_ICMPV4_UNREACH_H\fP 0x08"
262: .br
263: .ti -1c
264: .RI "#define \fBLIBNET_ICMPV4_TIMXCEED_H\fP 0x08"
265: .br
266: .ti -1c
267: .RI "#define \fBLIBNET_ICMPV4_REDIRECT_H\fP 0x08"
268: .br
269: .ti -1c
270: .RI "#define \fBLIBNET_ICMPV4_TS_H\fP 0x14"
271: .br
272: .ti -1c
273: .RI "#define \fBLIBNET_ICMPV6_H\fP 0x08"
274: .br
275: .ti -1c
276: .RI "#define \fBLIBNET_IGMP_H\fP 0x08"
277: .br
278: .ti -1c
279: .RI "#define \fBLIBNET_IPV4_H\fP 0x14"
280: .br
281: .ti -1c
282: .RI "#define \fBLIBNET_IPV6_H\fP 0x28"
283: .br
284: .ti -1c
285: .RI "#define \fBLIBNET_IPV6_FRAG_H\fP 0x08"
286: .br
287: .ti -1c
288: .RI "#define \fBLIBNET_IPV6_ROUTING_H\fP 0x04"
289: .br
290: .ti -1c
291: .RI "#define \fBLIBNET_IPV6_DESTOPTS_H\fP 0x02"
292: .br
293: .ti -1c
294: .RI "#define \fBLIBNET_IPV6_HBHOPTS_H\fP 0x02"
295: .br
296: .ti -1c
297: .RI "#define \fBLIBNET_IPSEC_ESP_HDR_H\fP 0x0c"
298: .br
299: .ti -1c
300: .RI "#define \fBLIBNET_IPSEC_ESP_FTR_H\fP 0x02"
301: .br
302: .ti -1c
303: .RI "#define \fBLIBNET_IPSEC_AH_H\fP 0x10"
304: .br
305: .ti -1c
306: .RI "#define \fBLIBNET_ISL_H\fP 0x1a"
307: .br
308: .ti -1c
309: .RI "#define \fBLIBNET_GRE_H\fP 0x04"
310: .br
311: .ti -1c
312: .RI "#define \fBLIBNET_GRE_SRE_H\fP 0x04"
313: .br
314: .ti -1c
315: .RI "#define \fBLIBNET_MPLS_H\fP 0x04"
316: .br
317: .ti -1c
318: .RI "#define \fBLIBNET_OSPF_H\fP 0x10"
319: .br
320: .ti -1c
321: .RI "#define \fBLIBNET_OSPF_HELLO_H\fP 0x18"
322: .br
323: .ti -1c
324: .RI "#define \fBLIBNET_OSPF_DBD_H\fP 0x08"
325: .br
326: .ti -1c
327: .RI "#define \fBLIBNET_OSPF_LSR_H\fP 0x0c"
328: .br
329: .ti -1c
330: .RI "#define \fBLIBNET_OSPF_LSU_H\fP 0x04"
331: .br
332: .ti -1c
333: .RI "#define \fBLIBNET_OSPF_LSA_H\fP 0x14"
334: .br
335: .ti -1c
336: .RI "#define \fBLIBNET_OSPF_AUTH_H\fP 0x08"
337: .br
338: .ti -1c
339: .RI "#define \fBLIBNET_OSPF_CKSUM\fP 0x10"
340: .br
341: .ti -1c
342: .RI "#define \fBLIBNET_OSPF_LS_RTR_H\fP 0x10"
343: .br
344: .ti -1c
345: .RI "#define \fBLIBNET_OSPF_LS_NET_H\fP 0x08"
346: .br
347: .ti -1c
348: .RI "#define \fBLIBNET_OSPF_LS_SUM_H\fP 0x0c"
349: .br
350: .ti -1c
351: .RI "#define \fBLIBNET_OSPF_LS_AS_EXT_H\fP 0x10"
352: .br
353: .ti -1c
354: .RI "#define \fBLIBNET_NTP_H\fP 0x30"
355: .br
356: .ti -1c
357: .RI "#define \fBLIBNET_RIP_H\fP 0x18"
358: .br
359: .ti -1c
360: .RI "#define \fBLIBNET_RPC_CALL_H\fP 0x28"
361: .br
362: .ti -1c
363: .RI "#define \fBLIBNET_RPC_CALL_TCP_H\fP 0x2c"
364: .br
365: .ti -1c
366: .RI "#define \fBLIBNET_SEBEK_H\fP 0x30"
367: .br
368: .ti -1c
369: .RI "#define \fBLIBNET_STP_CONF_H\fP 0x23"
370: .br
371: .ti -1c
372: .RI "#define \fBLIBNET_STP_TCN_H\fP 0x04"
373: .br
374: .ti -1c
375: .RI "#define \fBLIBNET_TOKEN_RING_H\fP 0x16"
376: .br
377: .ti -1c
378: .RI "#define \fBLIBNET_TCP_H\fP 0x14"
379: .br
380: .ti -1c
381: .RI "#define \fBLIBNET_UDP_H\fP 0x08"
382: .br
383: .ti -1c
384: .RI "#define \fBLIBNET_VRRP_H\fP 0x08"
385: .br
386: .ti -1c
387: .RI "#define \fBLIBNET_802_1Q_PRIMASK\fP 0x0007"
388: .br
389: .ti -1c
390: .RI "#define \fBLIBNET_802_1Q_CFIMASK\fP 0x0001"
391: .br
392: .ti -1c
393: .RI "#define \fBLIBNET_802_1Q_VIDMASK\fP 0x0fff"
394: .br
395: .ti -1c
396: .RI "#define \fBLIBNET_802_1X_PACKET\fP 0x00"
397: .br
398: .ti -1c
399: .RI "#define \fBLIBNET_802_1X_START\fP 0x01"
400: .br
401: .ti -1c
402: .RI "#define \fBLIBNET_802_1X_LOGOFF\fP 0x02"
403: .br
404: .ti -1c
405: .RI "#define \fBLIBNET_802_1X_KEY\fP 0x03"
406: .br
407: .ti -1c
408: .RI "#define \fBLIBNET_802_1X_ENCASFAL\fP 0x04"
409: .br
410: .ti -1c
411: .RI "#define \fBLIBNET_SAP_STP\fP 0x42"
412: .br
413: .ti -1c
414: .RI "#define \fBLIBNET_SAP_SNAP\fP 0xaa"
415: .br
416: .ti -1c
417: .RI "#define \fBARPHRD_NETROM\fP 0"
418: .br
419: .ti -1c
420: .RI "#define \fBARPHRD_ETHER\fP 1"
421: .br
422: .ti -1c
423: .RI "#define \fBARPHRD_EETHER\fP 2"
424: .br
425: .ti -1c
426: .RI "#define \fBARPHRD_AX25\fP 3"
427: .br
428: .ti -1c
429: .RI "#define \fBARPHRD_PRONET\fP 4"
430: .br
431: .ti -1c
432: .RI "#define \fBARPHRD_CHAOS\fP 5"
433: .br
434: .ti -1c
435: .RI "#define \fBARPHRD_IEEE802\fP 6"
436: .br
437: .ti -1c
438: .RI "#define \fBARPHRD_ARCNET\fP 7"
439: .br
440: .ti -1c
441: .RI "#define \fBARPHRD_APPLETLK\fP 8"
442: .br
443: .ti -1c
444: .RI "#define \fBARPHRD_LANSTAR\fP 9"
445: .br
446: .ti -1c
447: .RI "#define \fBARPHRD_DLCI\fP 15"
448: .br
449: .ti -1c
450: .RI "#define \fBARPHRD_ATM\fP 19"
451: .br
452: .ti -1c
453: .RI "#define \fBARPHRD_METRICOM\fP 23"
454: .br
455: .ti -1c
456: .RI "#define \fBARPHRD_IPSEC\fP 31"
457: .br
458: .ti -1c
459: .RI "#define \fBARPOP_REQUEST\fP 1"
460: .br
461: .ti -1c
462: .RI "#define \fBARPOP_REPLY\fP 2"
463: .br
464: .ti -1c
465: .RI "#define \fBARPOP_REVREQUEST\fP 3"
466: .br
467: .ti -1c
468: .RI "#define \fBARPOP_REVREPLY\fP 4"
469: .br
470: .ti -1c
471: .RI "#define \fBARPOP_INVREQUEST\fP 8"
472: .br
473: .ti -1c
474: .RI "#define \fBARPOP_INVREPLY\fP 9"
475: .br
476: .ti -1c
477: .RI "#define \fBLIBNET_BGP4_MARKER_SIZE\fP 16"
478: .br
479: .ti -1c
480: .RI "#define \fBLIBNET_BGP4_OPEN\fP 1"
481: .br
482: .ti -1c
483: .RI "#define \fBLIBNET_BGP4_UPDATE\fP 2"
484: .br
485: .ti -1c
486: .RI "#define \fBLIBNET_BGP4_NOTIFICATION\fP 3"
487: .br
488: .ti -1c
489: .RI "#define \fBLIBNET_BGP4_KEEPALIVE\fP 4"
490: .br
491: .ti -1c
492: .RI "#define \fBLIBNET_BGP4_MESSAGE_HEADER_ERROR\fP 1"
493: .br
494: .ti -1c
495: .RI "#define \fBLIBNET_BGP4_OPEN_MESSAGE_ERROR\fP 2"
496: .br
497: .ti -1c
498: .RI "#define \fBLIBNET_BGP4_UPDATE_MESSAGE_ERROR\fP 3"
499: .br
500: .ti -1c
501: .RI "#define \fBLIBNET_BGP4_HOLD_TIMER_EXPIRED\fP 4"
502: .br
503: .ti -1c
504: .RI "#define \fBLIBNET_BGP4_FINITE_STATE__ERROR\fP 5"
505: .br
506: .ti -1c
507: .RI "#define \fBLIBNET_BGP4_CEASE\fP 6"
508: .br
509: .ti -1c
510: .RI "#define \fBLIBNET_BGP4_CONNECTION_NOT_SYNCHRONIZED\fP 1"
511: .br
512: .ti -1c
513: .RI "#define \fBLIBNET_BGP4_BAD_MESSAGE_LENGTH\fP 2"
514: .br
515: .ti -1c
516: .RI "#define \fBLIBNET_BGP4_BAD_MESSAGE_TYPE\fP 3"
517: .br
518: .ti -1c
519: .RI "#define \fBLIBNET_BGP4_UNSUPPORTED_VERSION_NUMBER\fP 1"
520: .br
521: .ti -1c
522: .RI "#define \fBLIBNET_BGP4_BAD_PEER_AS\fP 2"
523: .br
524: .ti -1c
525: .RI "#define \fBLIBNET_BGP4_BAD_BGP_IDENTIFIER\fP 3"
526: .br
527: .ti -1c
528: .RI "#define \fBLIBNET_BGP4_UNSUPPORTED_OPTIONAL_PARAMETER\fP 4"
529: .br
530: .ti -1c
531: .RI "#define \fBLIBNET_BGP4_AUTHENTICATION_FAILURE\fP 5"
532: .br
533: .ti -1c
534: .RI "#define \fBLIBNET_BGP4_UNACCEPTABLE_HOLD_TIME\fP 6"
535: .br
536: .ti -1c
537: .RI "#define \fBLIBNET_BGP4_MALFORMED_ATTRIBUTE_LIST\fP"
538: .br
539: .ti -1c
540: .RI "#define \fBLIBNET_BGP4_UNRECOGNIZED_WELL_KNOWN_ATTRIBUTE\fP"
541: .br
542: .ti -1c
543: .RI "#define \fBLIBNET_BGP4_MISSING_WELL_KNOWN_ATTRIBUTE\fP"
544: .br
545: .ti -1c
546: .RI "#define \fBLIBNET_BGP4_ATTRIBUTE_FLAGS_ERROR\fP"
547: .br
548: .ti -1c
549: .RI "#define \fBLIBNET_BGP4_ATTRIBUTE_LENGTH_ERROR\fP"
550: .br
551: .ti -1c
552: .RI "#define \fBLIBNET_BGP4_INVALID_ORIGIN_ATTRIBUTE\fP"
553: .br
554: .ti -1c
555: .RI "#define \fBLIBNET_BGP4_AS_ROUTING_LOOP\fP"
556: .br
557: .ti -1c
558: .RI "#define \fBLIBNET_BGP4_INVALID_NEXT_HOP_ATTRIBUTE\fP"
559: .br
560: .ti -1c
561: .RI "#define \fBLIBNET_BGP4_OPTIONAL_ATTRIBUTE_ERROR\fP"
562: .br
563: .ti -1c
564: .RI "#define \fBLIBNET_BGP4_INVALID_NETWORK_FIELD\fP"
565: .br
566: .ti -1c
567: .RI "#define \fBLIBNET_BGP4_MALFORMED_AS_PATH\fP"
568: .br
569: .ti -1c
570: .RI "#define \fBLIBNET_PROTO_CDP\fP 200"
571: .br
572: .ti -1c
573: .RI "#define \fBLIBNET_CDP_DEVID\fP 0x1"
574: .br
575: .ti -1c
576: .RI "#define \fBLIBNET_CDP_ADDRESS\fP 0x2"
577: .br
578: .ti -1c
579: .RI "#define \fBLIBNET_CDP_PORTID\fP 0x3"
580: .br
581: .ti -1c
582: .RI "#define \fBLIBNET_CDP_CAPABIL\fP 0x4"
583: .br
584: .ti -1c
585: .RI "#define \fBLIBNET_CDP_VERSION\fP 0x5"
586: .br
587: .ti -1c
588: .RI "#define \fBLIBNET_CDP_PLATFORM\fP 0x6"
589: .br
590: .ti -1c
591: .RI "#define \fBLIBNET_CDP_IPPREFIX\fP 0x7"
592: .br
593: .ti -1c
594: .RI "#define \fBLIBNET_CDP_CAP_L3R\fP 0x01"
595: .br
596: .ti -1c
597: .RI "#define \fBLIBNET_CDP_CAP_L2B\fP 0x02"
598: .br
599: .ti -1c
600: .RI "#define \fBLIBNET_CDP_CAP_L2SRB\fP 0x04"
601: .br
602: .ti -1c
603: .RI "#define \fBLIBNET_CDP_CAP_L2S\fP 0x08"
604: .br
605: .ti -1c
606: .RI "#define \fBLIBNET_CDP_CAP_SR\fP 0x10"
607: .br
608: .ti -1c
609: .RI "#define \fBLIBNET_CDP_CAP_NOI\fP 0x20"
610: .br
611: .ti -1c
612: .RI "#define \fBLIBNET_CDP_CAP_L1F\fP 0x40"
613: .br
614: .ti -1c
615: .RI "#define \fBLIBNET_DHCP_REQUEST\fP 0x1"
616: .br
617: .ti -1c
618: .RI "#define \fBLIBNET_DHCP_REPLY\fP 0x2"
619: .br
620: .ti -1c
621: .RI "#define \fBDHCP_MAGIC\fP 0x63825363"
622: .br
623: .ti -1c
624: .RI "#define \fBLIBNET_BOOTP_MIN_LEN\fP 0x12c"
625: .br
626: .ti -1c
627: .RI "#define \fBLIBNET_DHCP_PAD\fP 0x00"
628: .br
629: .ti -1c
630: .RI "#define \fBLIBNET_DHCP_SUBNETMASK\fP 0x01"
631: .br
632: .ti -1c
633: .RI "#define \fBLIBNET_DHCP_TIMEOFFSET\fP 0x02"
634: .br
635: .ti -1c
636: .RI "#define \fBLIBNET_DHCP_ROUTER\fP 0x03"
637: .br
638: .ti -1c
639: .RI "#define \fBLIBNET_DHCP_TIMESERVER\fP 0x04"
640: .br
641: .ti -1c
642: .RI "#define \fBLIBNET_DHCP_NAMESERVER\fP 0x05"
643: .br
644: .ti -1c
645: .RI "#define \fBLIBNET_DHCP_DNS\fP 0x06"
646: .br
647: .ti -1c
648: .RI "#define \fBLIBNET_DHCP_LOGSERV\fP 0x07"
649: .br
650: .ti -1c
651: .RI "#define \fBLIBNET_DHCP_COOKIESERV\fP 0x08"
652: .br
653: .ti -1c
654: .RI "#define \fBLIBNET_DHCP_LPRSERV\fP 0x09"
655: .br
656: .ti -1c
657: .RI "#define \fBLIBNET_DHCP_IMPSERV\fP 0x0a"
658: .br
659: .ti -1c
660: .RI "#define \fBLIBNET_DHCP_RESSERV\fP 0x0b"
661: .br
662: .ti -1c
663: .RI "#define \fBLIBNET_DHCP_HOSTNAME\fP 0x0c"
664: .br
665: .ti -1c
666: .RI "#define \fBLIBNET_DHCP_BOOTFILESIZE\fP 0x0d"
667: .br
668: .ti -1c
669: .RI "#define \fBLIBNET_DHCP_DUMPFILE\fP 0x0e"
670: .br
671: .ti -1c
672: .RI "#define \fBLIBNET_DHCP_DOMAINNAME\fP 0x0f"
673: .br
674: .ti -1c
675: .RI "#define \fBLIBNET_DHCP_SWAPSERV\fP 0x10"
676: .br
677: .ti -1c
678: .RI "#define \fBLIBNET_DHCP_ROOTPATH\fP 0x11"
679: .br
680: .ti -1c
681: .RI "#define \fBLIBNET_DHCP_EXTENPATH\fP 0x12"
682: .br
683: .ti -1c
684: .RI "#define \fBLIBNET_DHCP_IPFORWARD\fP 0x13"
685: .br
686: .ti -1c
687: .RI "#define \fBLIBNET_DHCP_SRCROUTE\fP 0x14"
688: .br
689: .ti -1c
690: .RI "#define \fBLIBNET_DHCP_POLICYFILTER\fP 0x15"
691: .br
692: .ti -1c
693: .RI "#define \fBLIBNET_DHCP_MAXASMSIZE\fP 0x16"
694: .br
695: .ti -1c
696: .RI "#define \fBLIBNET_DHCP_IPTTL\fP 0x17"
697: .br
698: .ti -1c
699: .RI "#define \fBLIBNET_DHCP_MTUTIMEOUT\fP 0x18"
700: .br
701: .ti -1c
702: .RI "#define \fBLIBNET_DHCP_MTUTABLE\fP 0x19"
703: .br
704: .ti -1c
705: .RI "#define \fBLIBNET_DHCP_MTUSIZE\fP 0x1a"
706: .br
707: .ti -1c
708: .RI "#define \fBLIBNET_DHCP_LOCALSUBNETS\fP 0x1b"
709: .br
710: .ti -1c
711: .RI "#define \fBLIBNET_DHCP_BROADCASTADDR\fP 0x1c"
712: .br
713: .ti -1c
714: .RI "#define \fBLIBNET_DHCP_DOMASKDISCOV\fP 0x1d"
715: .br
716: .ti -1c
717: .RI "#define \fBLIBNET_DHCP_MASKSUPPLY\fP 0x1e"
718: .br
719: .ti -1c
720: .RI "#define \fBLIBNET_DHCP_DOROUTEDISC\fP 0x1f"
721: .br
722: .ti -1c
723: .RI "#define \fBLIBNET_DHCP_ROUTERSOLICIT\fP 0x20"
724: .br
725: .ti -1c
726: .RI "#define \fBLIBNET_DHCP_STATICROUTE\fP 0x21"
727: .br
728: .ti -1c
729: .RI "#define \fBLIBNET_DHCP_TRAILERENCAP\fP 0x22"
730: .br
731: .ti -1c
732: .RI "#define \fBLIBNET_DHCP_ARPTIMEOUT\fP 0x23"
733: .br
734: .ti -1c
735: .RI "#define \fBLIBNET_DHCP_ETHERENCAP\fP 0x24"
736: .br
737: .ti -1c
738: .RI "#define \fBLIBNET_DHCP_TCPTTL\fP 0x25"
739: .br
740: .ti -1c
741: .RI "#define \fBLIBNET_DHCP_TCPKEEPALIVE\fP 0x26"
742: .br
743: .ti -1c
744: .RI "#define \fBLIBNET_DHCP_TCPALIVEGARBAGE\fP 0x27"
745: .br
746: .ti -1c
747: .RI "#define \fBLIBNET_DHCP_NISDOMAIN\fP 0x28"
748: .br
749: .ti -1c
750: .RI "#define \fBLIBNET_DHCP_NISSERVERS\fP 0x29"
751: .br
752: .ti -1c
753: .RI "#define \fBLIBNET_DHCP_NISTIMESERV\fP 0x2a"
754: .br
755: .ti -1c
756: .RI "#define \fBLIBNET_DHCP_VENDSPECIFIC\fP 0x2b"
757: .br
758: .ti -1c
759: .RI "#define \fBLIBNET_DHCP_NBNS\fP 0x2c"
760: .br
761: .ti -1c
762: .RI "#define \fBLIBNET_DHCP_NBDD\fP 0x2d"
763: .br
764: .ti -1c
765: .RI "#define \fBLIBNET_DHCP_NBTCPIP\fP 0x2e"
766: .br
767: .ti -1c
768: .RI "#define \fBLIBNET_DHCP_NBTCPSCOPE\fP 0x2f"
769: .br
770: .ti -1c
771: .RI "#define \fBLIBNET_DHCP_XFONT\fP 0x30"
772: .br
773: .ti -1c
774: .RI "#define \fBLIBNET_DHCP_XDISPLAYMGR\fP 0x31"
775: .br
776: .ti -1c
777: .RI "#define \fBLIBNET_DHCP_DISCOVERADDR\fP 0x32"
778: .br
779: .ti -1c
780: .RI "#define \fBLIBNET_DHCP_LEASETIME\fP 0x33"
781: .br
782: .ti -1c
783: .RI "#define \fBLIBNET_DHCP_OPTIONOVERLOAD\fP 0x34"
784: .br
785: .ti -1c
786: .RI "#define \fBLIBNET_DHCP_MESSAGETYPE\fP 0x35"
787: .br
788: .ti -1c
789: .RI "#define \fBLIBNET_DHCP_SERVIDENT\fP 0x36"
790: .br
791: .ti -1c
792: .RI "#define \fBLIBNET_DHCP_PARAMREQUEST\fP 0x37"
793: .br
794: .ti -1c
795: .RI "#define \fBLIBNET_DHCP_MESSAGE\fP 0x38"
796: .br
797: .ti -1c
798: .RI "#define \fBLIBNET_DHCP_MAXMSGSIZE\fP 0x39"
799: .br
800: .ti -1c
801: .RI "#define \fBLIBNET_DHCP_RENEWTIME\fP 0x3a"
802: .br
803: .ti -1c
804: .RI "#define \fBLIBNET_DHCP_REBINDTIME\fP 0x3b"
805: .br
806: .ti -1c
807: .RI "#define \fBLIBNET_DHCP_CLASSSID\fP 0x3c"
808: .br
809: .ti -1c
810: .RI "#define \fBLIBNET_DHCP_CLIENTID\fP 0x3d"
811: .br
812: .ti -1c
813: .RI "#define \fBLIBNET_DHCP_NISPLUSDOMAIN\fP 0x40"
814: .br
815: .ti -1c
816: .RI "#define \fBLIBNET_DHCP_NISPLUSSERVERS\fP 0x41"
817: .br
818: .ti -1c
819: .RI "#define \fBLIBNET_DHCP_MOBILEIPAGENT\fP 0x44"
820: .br
821: .ti -1c
822: .RI "#define \fBLIBNET_DHCP_SMTPSERVER\fP 0x45"
823: .br
824: .ti -1c
825: .RI "#define \fBLIBNET_DHCP_POP3SERVER\fP 0x46"
826: .br
827: .ti -1c
828: .RI "#define \fBLIBNET_DHCP_NNTPSERVER\fP 0x47"
829: .br
830: .ti -1c
831: .RI "#define \fBLIBNET_DHCP_WWWSERVER\fP 0x48"
832: .br
833: .ti -1c
834: .RI "#define \fBLIBNET_DHCP_FINGERSERVER\fP 0x49"
835: .br
836: .ti -1c
837: .RI "#define \fBLIBNET_DHCP_IRCSERVER\fP 0x4a"
838: .br
839: .ti -1c
840: .RI "#define \fBLIBNET_DHCP_STSERVER\fP 0x4b"
841: .br
842: .ti -1c
843: .RI "#define \fBLIBNET_DHCP_STDASERVER\fP 0x4c"
844: .br
845: .ti -1c
846: .RI "#define \fBLIBNET_DHCP_END\fP 0xff"
847: .br
848: .ti -1c
849: .RI "#define \fBLIBNET_DHCP_MSGDISCOVER\fP 0x01"
850: .br
851: .ti -1c
852: .RI "#define \fBLIBNET_DHCP_MSGOFFER\fP 0x02"
853: .br
854: .ti -1c
855: .RI "#define \fBLIBNET_DHCP_MSGREQUEST\fP 0x03"
856: .br
857: .ti -1c
858: .RI "#define \fBLIBNET_DHCP_MSGDECLINE\fP 0x04"
859: .br
860: .ti -1c
861: .RI "#define \fBLIBNET_DHCP_MSGACK\fP 0x05"
862: .br
863: .ti -1c
864: .RI "#define \fBLIBNET_DHCP_MSGNACK\fP 0x06"
865: .br
866: .ti -1c
867: .RI "#define \fBLIBNET_DHCP_MSGRELEASE\fP 0x07"
868: .br
869: .ti -1c
870: .RI "#define \fBLIBNET_DHCP_MSGINFORM\fP 0x08"
871: .br
872: .ti -1c
873: .RI "#define \fBLIBNET_DNS_H\fP LIBNET_UDP_DNSV4_H"
874: .br
875: .ti -1c
876: .RI "#define \fBETHERTYPE_PUP\fP 0x0200"
877: .br
878: .ti -1c
879: .RI "#define \fBETHERTYPE_IP\fP 0x0800"
880: .br
881: .ti -1c
882: .RI "#define \fBETHERTYPE_ARP\fP 0x0806"
883: .br
884: .ti -1c
885: .RI "#define \fBETHERTYPE_REVARP\fP 0x8035"
886: .br
887: .ti -1c
888: .RI "#define \fBETHERTYPE_VLAN\fP 0x8100"
889: .br
890: .ti -1c
891: .RI "#define \fBETHERTYPE_EAP\fP 0x888e"
892: .br
893: .ti -1c
894: .RI "#define \fBETHERTYPE_MPLS\fP 0x8847"
895: .br
896: .ti -1c
897: .RI "#define \fBETHERTYPE_LOOPBACK\fP 0x9000"
898: .br
899: .ti -1c
900: .RI "#define \fBLIBNET_FDDI_LLC_FRAME\fP 0x10"
901: .br
902: .ti -1c
903: .RI "#define \fBLIBNET_FDDI_48BIT_ADDR\fP 0x40"
904: .br
905: .ti -1c
906: .RI "#define \fBLIBNET_FDDI_FC_REQD\fP LIBNET_FDDI_LLC_FRAME | LIBNET_FDDI_48BIT_ADDR"
907: .br
908: .ti -1c
909: .RI "#define \fBFDDI_TYPE_IP\fP 0x0800"
910: .br
911: .ti -1c
912: .RI "#define \fBFDDI_TYPE_ARP\fP 0x0806"
913: .br
914: .ti -1c
915: .RI "#define \fBFDDI_TYPE_REVARP\fP 0x8035"
916: .br
917: .ti -1c
918: .RI "#define \fBGRE_CSUM\fP 0x8000"
919: .br
920: .ti -1c
921: .RI "#define \fBGRE_ROUTING\fP 0x4000"
922: .br
923: .ti -1c
924: .RI "#define \fBGRE_KEY\fP 0x2000"
925: .br
926: .ti -1c
927: .RI "#define \fBGRE_SEQ\fP 0x1000"
928: .br
929: .ti -1c
930: .RI "#define \fBGRE_STRICT\fP 0x0800"
931: .br
932: .ti -1c
933: .RI "#define \fBGRE_REC\fP 0x0700"
934: .br
935: .ti -1c
936: .RI "#define \fBGRE_ACK\fP 0x0080"
937: .br
938: .ti -1c
939: .RI "#define \fBGRE_FLAGS_MASK\fP 0x00F8"
940: .br
941: .ti -1c
942: .RI "#define \fBGRE_VERSION_MASK\fP 0x0007"
943: .br
944: .ti -1c
945: .RI "#define \fBGRE_VERSION_0\fP 0x0000"
946: .br
947: .ti -1c
948: .RI "#define \fBGRE_VERSION_1\fP 0x0001"
949: .br
950: .ti -1c
951: .RI "#define \fBGRE_SNA\fP 0x0004"
952: .br
953: .ti -1c
954: .RI "#define \fBGRE_OSI_NETWORK_LAYER\fP 0x00FE"
955: .br
956: .ti -1c
957: .RI "#define \fBGRE_PUP\fP 0x0200"
958: .br
959: .ti -1c
960: .RI "#define \fBGRE_XNS\fP 0x0600"
961: .br
962: .ti -1c
963: .RI "#define \fBGRE_IP\fP 0x0800"
964: .br
965: .ti -1c
966: .RI "#define \fBGRE_CHAOS\fP 0x0804"
967: .br
968: .ti -1c
969: .RI "#define \fBGRE_RFC_826_ARP\fP 0x0806"
970: .br
971: .ti -1c
972: .RI "#define \fBGRE_FRAME_RELAY_ARP\fP 0x0808"
973: .br
974: .ti -1c
975: .RI "#define \fBGRE_VINES\fP 0x0BAD"
976: .br
977: .ti -1c
978: .RI "#define \fBGRE_VINES_ECHO\fP 0x0BAE"
979: .br
980: .ti -1c
981: .RI "#define \fBGRE_VINES_LOOPBACK\fP 0x0BAF"
982: .br
983: .ti -1c
984: .RI "#define \fBGRE_DECNET\fP 0x6003"
985: .br
986: .ti -1c
987: .RI "#define \fBGRE_TRANSPARENT_ETHERNET_BRIDGING\fP 0x6558"
988: .br
989: .ti -1c
990: .RI "#define \fBGRE_RAW_FRAME_RELAY\fP 0x6559"
991: .br
992: .ti -1c
993: .RI "#define \fBGRE_APOLLO_DOMAIN\fP 0x8019"
994: .br
995: .ti -1c
996: .RI "#define \fBGRE_ETHERTALK\fP 0x809B"
997: .br
998: .ti -1c
999: .RI "#define \fBGRE_NOVELL_IPX\fP 0x8137"
1000: .br
1001: .ti -1c
1002: .RI "#define \fBGRE_RFC_1144_TCP_IP_COMPRESSION\fP 0x876B"
1003: .br
1004: .ti -1c
1005: .RI "#define \fBGRE_IP_AUTONOMOUS_SYSTEMS\fP 0x876C"
1006: .br
1007: .ti -1c
1008: .RI "#define \fBGRE_SECURE_DATA\fP 0x876D"
1009: .br
1010: .ti -1c
1011: .RI "#define \fBGRE_PPP\fP 0x880b"
1012: .br
1013: .ti -1c
1014: .RI "#define \fBgre_sum\fP _data._gre.sum"
1015: .br
1016: .ti -1c
1017: .RI "#define \fBgre_offset\fP _data._gre.offset"
1018: .br
1019: .ti -1c
1020: .RI "#define \fBgre_key\fP _data._gre.key"
1021: .br
1022: .ti -1c
1023: .RI "#define \fBgre_seq\fP _data._gre.seq"
1024: .br
1025: .ti -1c
1026: .RI "#define \fBegre_payload_s\fP _data._egre.payload_s"
1027: .br
1028: .ti -1c
1029: .RI "#define \fBegre_callID\fP _data._egre.callID"
1030: .br
1031: .ti -1c
1032: .RI "#define \fBegre_seq\fP _data._egre.seq"
1033: .br
1034: .ti -1c
1035: .RI "#define \fBegre_ack\fP _data._egre.ack"
1036: .br
1037: .ti -1c
1038: .RI "#define \fBIPPROTO_GRE\fP 47"
1039: .br
1040: .ti -1c
1041: .RI "#define \fBIPTOS_LOWDELAY\fP 0x10"
1042: .br
1043: .ti -1c
1044: .RI "#define \fBIPTOS_THROUGHPUT\fP 0x08"
1045: .br
1046: .ti -1c
1047: .RI "#define \fBIPTOS_RELIABILITY\fP 0x04"
1048: .br
1049: .ti -1c
1050: .RI "#define \fBIPTOS_LOWCOST\fP 0x02"
1051: .br
1052: .ti -1c
1053: .RI "#define \fBIP_RF\fP 0x8000"
1054: .br
1055: .ti -1c
1056: .RI "#define \fBIP_DF\fP 0x4000"
1057: .br
1058: .ti -1c
1059: .RI "#define \fBIP_MF\fP 0x2000"
1060: .br
1061: .ti -1c
1062: .RI "#define \fBIP_OFFMASK\fP 0x1fff"
1063: .br
1064: .ti -1c
1065: .RI "#define \fBIPOPT_EOL\fP 0"
1066: .br
1067: .ti -1c
1068: .RI "#define \fBIPOPT_NOP\fP 1"
1069: .br
1070: .ti -1c
1071: .RI "#define \fBIPOPT_RR\fP 7"
1072: .br
1073: .ti -1c
1074: .RI "#define \fBIPOPT_TS\fP 68"
1075: .br
1076: .ti -1c
1077: .RI "#define \fBIPOPT_SECURITY\fP 130"
1078: .br
1079: .ti -1c
1080: .RI "#define \fBIPOPT_LSRR\fP 131"
1081: .br
1082: .ti -1c
1083: .RI "#define \fBIPOPT_SATID\fP 136"
1084: .br
1085: .ti -1c
1086: .RI "#define \fBIPOPT_SSRR\fP 137"
1087: .br
1088: .ti -1c
1089: .RI "#define \fBlibnet_s6_addr\fP __u6_addr.__u6_addr8"
1090: .br
1091: .ti -1c
1092: .RI "#define \fBLIBNET_IPV6_NH_FRAGMENT\fP 44"
1093: .br
1094: .ti -1c
1095: .RI "#define \fBLIBNET_IPV6_NH_ROUTING\fP 43"
1096: .br
1097: .ti -1c
1098: .RI "#define \fBLIBNET_IPV6_NH_DESTOPTS\fP 60"
1099: .br
1100: .ti -1c
1101: .RI "#define \fBLIBNET_IPV6_NH_HBH\fP 0"
1102: .br
1103: .ti -1c
1104: .RI "#define \fBIPPROTO_ICMP6\fP 0x3a"
1105: .br
1106: .ti -1c
1107: .RI "#define \fBICMP6_ECHO\fP 128"
1108: .br
1109: .ti -1c
1110: .RI "#define \fBICMP6_ECHOREPLY\fP 129"
1111: .br
1112: .ti -1c
1113: .RI "#define \fBICMP6_UNREACH\fP 1"
1114: .br
1115: .ti -1c
1116: .RI "#define \fBICMP6_PKTTOOBIG\fP 2"
1117: .br
1118: .ti -1c
1119: .RI "#define \fBICMP6_TIMXCEED\fP 3"
1120: .br
1121: .ti -1c
1122: .RI "#define \fBICMP6_PARAMPROB\fP 4"
1123: .br
1124: .ti -1c
1125: .RI "#define \fBICMP_ECHOREPLY\fP 0"
1126: .br
1127: .ti -1c
1128: .RI "#define \fBICMP_UNREACH\fP 3"
1129: .br
1130: .ti -1c
1131: .RI "#define \fBICMP_SOURCEQUENCH\fP 4"
1132: .br
1133: .ti -1c
1134: .RI "#define \fBICMP_REDIRECT\fP 5"
1135: .br
1136: .ti -1c
1137: .RI "#define \fBICMP_ECHO\fP 8"
1138: .br
1139: .ti -1c
1140: .RI "#define \fBICMP_ROUTERADVERT\fP 9"
1141: .br
1142: .ti -1c
1143: .RI "#define \fBICMP_ROUTERSOLICIT\fP 10"
1144: .br
1145: .ti -1c
1146: .RI "#define \fBICMP_TIMXCEED\fP 11"
1147: .br
1148: .ti -1c
1149: .RI "#define \fBICMP_PARAMPROB\fP 12"
1150: .br
1151: .ti -1c
1152: .RI "#define \fBICMP_TSTAMP\fP 13"
1153: .br
1154: .ti -1c
1155: .RI "#define \fBICMP_TSTAMPREPLY\fP 14"
1156: .br
1157: .ti -1c
1158: .RI "#define \fBICMP_IREQ\fP 15"
1159: .br
1160: .ti -1c
1161: .RI "#define \fBICMP_IREQREPLY\fP 16"
1162: .br
1163: .ti -1c
1164: .RI "#define \fBICMP_MASKREQ\fP 17"
1165: .br
1166: .ti -1c
1167: .RI "#define \fBICMP_MASKREPLY\fP 18"
1168: .br
1169: .ti -1c
1170: .RI "#define \fBICMP_UNREACH_NET\fP 0"
1171: .br
1172: .ti -1c
1173: .RI "#define \fBICMP_UNREACH_HOST\fP 1"
1174: .br
1175: .ti -1c
1176: .RI "#define \fBICMP_UNREACH_PROTOCOL\fP 2"
1177: .br
1178: .ti -1c
1179: .RI "#define \fBICMP_UNREACH_PORT\fP 3"
1180: .br
1181: .ti -1c
1182: .RI "#define \fBICMP_UNREACH_NEEDFRAG\fP 4"
1183: .br
1184: .ti -1c
1185: .RI "#define \fBICMP_UNREACH_SRCFAIL\fP 5"
1186: .br
1187: .ti -1c
1188: .RI "#define \fBICMP_UNREACH_NET_UNKNOWN\fP 6"
1189: .br
1190: .ti -1c
1191: .RI "#define \fBICMP_UNREACH_HOST_UNKNOWN\fP 7"
1192: .br
1193: .ti -1c
1194: .RI "#define \fBICMP_UNREACH_ISOLATED\fP 8"
1195: .br
1196: .ti -1c
1197: .RI "#define \fBICMP_UNREACH_NET_PROHIB\fP 9"
1198: .br
1199: .ti -1c
1200: .RI "#define \fBICMP_UNREACH_HOST_PROHIB\fP 10"
1201: .br
1202: .ti -1c
1203: .RI "#define \fBICMP_UNREACH_TOSNET\fP 11"
1204: .br
1205: .ti -1c
1206: .RI "#define \fBICMP_UNREACH_TOSHOST\fP 12"
1207: .br
1208: .ti -1c
1209: .RI "#define \fBICMP_UNREACH_FILTER_PROHIB\fP 13"
1210: .br
1211: .ti -1c
1212: .RI "#define \fBICMP_UNREACH_HOST_PRECEDENCE\fP 14"
1213: .br
1214: .ti -1c
1215: .RI "#define \fBICMP_UNREACH_PRECEDENCE_CUTOFF\fP 15"
1216: .br
1217: .ti -1c
1218: .RI "#define \fBICMP_REDIRECT_NET\fP 0"
1219: .br
1220: .ti -1c
1221: .RI "#define \fBICMP_REDIRECT_HOST\fP 1"
1222: .br
1223: .ti -1c
1224: .RI "#define \fBICMP_REDIRECT_TOSNET\fP 2"
1225: .br
1226: .ti -1c
1227: .RI "#define \fBICMP_REDIRECT_TOSHOST\fP 3"
1228: .br
1229: .ti -1c
1230: .RI "#define \fBICMP_TIMXCEED_INTRANS\fP 0"
1231: .br
1232: .ti -1c
1233: .RI "#define \fBICMP_TIMXCEED_REASS\fP 1"
1234: .br
1235: .ti -1c
1236: .RI "#define \fBICMP_PARAMPROB_OPTABSENT\fP 1"
1237: .br
1238: .ti -1c
1239: .RI "#define \fBicmp_id\fP hun.echo.id"
1240: .br
1241: .ti -1c
1242: .RI "#define \fBicmp_seq\fP hun.echo.seq"
1243: .br
1244: .ti -1c
1245: .RI "#define \fBicmp_mask\fP dun.mask"
1246: .br
1247: .ti -1c
1248: .RI "#define \fBicmp_data\fP dun.data"
1249: .br
1250: .ti -1c
1251: .RI "#define \fBicmp_otime\fP dun.ts.its_otime"
1252: .br
1253: .ti -1c
1254: .RI "#define \fBicmp_rtime\fP dun.ts.its_rtime"
1255: .br
1256: .ti -1c
1257: .RI "#define \fBicmp_ttime\fP dun.ts.its_ttime"
1258: .br
1259: .ti -1c
1260: .RI "#define \fBIGMP_MEMBERSHIP_QUERY\fP 0x11"
1261: .br
1262: .ti -1c
1263: .RI "#define \fBIGMP_V1_MEMBERSHIP_REPORT\fP 0x12"
1264: .br
1265: .ti -1c
1266: .RI "#define \fBIGMP_V2_MEMBERSHIP_REPORT\fP 0x16"
1267: .br
1268: .ti -1c
1269: .RI "#define \fBIGMP_LEAVE_GROUP\fP 0x17"
1270: .br
1271: .ti -1c
1272: .RI "#define \fBIPPROTO_ESP\fP 50"
1273: .br
1274: .ti -1c
1275: .RI "#define \fBIPPROTO_AH\fP 51"
1276: .br
1277: .ti -1c
1278: .RI "#define \fBLIBNET_PROTO_ISL\fP 201"
1279: .br
1280: .ti -1c
1281: .RI "#define \fBIPPROTO_OSPF\fP 89"
1282: .br
1283: .ti -1c
1284: .RI "#define \fBIPPROTO_OSPF_LSA\fP 890"
1285: .br
1286: .ti -1c
1287: .RI "#define \fBLIBNET_MODX\fP 4102"
1288: .br
1289: .ti -1c
1290: .RI "#define \fBLIBNET_OPT_EBIT\fP 0x02"
1291: .br
1292: .ti -1c
1293: .RI "#define \fBLIBNET_OPT_MCBIT\fP 0x04"
1294: .br
1295: .ti -1c
1296: .RI "#define \fBLIBNET_OPT_NPBIT\fP 0x08"
1297: .br
1298: .ti -1c
1299: .RI "#define \fBLIBNET_OPT_EABIT\fP 0x10"
1300: .br
1301: .ti -1c
1302: .RI "#define \fBLIBNET_OPT_DCBIT\fP 0x20"
1303: .br
1304: .ti -1c
1305: .RI "#define \fBLIBNET_MPLS_BOS_ON\fP 1"
1306: .br
1307: .ti -1c
1308: .RI "#define \fBLIBNET_MPLS_BOS_OFF\fP 0"
1309: .br
1310: .ti -1c
1311: .RI "#define \fBLIBNET_NTP_LI_NW\fP 0x0"
1312: .br
1313: .ti -1c
1314: .RI "#define \fBLIBNET_NTP_LI_AS\fP 0x1"
1315: .br
1316: .ti -1c
1317: .RI "#define \fBLIBNET_NTP_LI_DS\fP 0x2"
1318: .br
1319: .ti -1c
1320: .RI "#define \fBLIBNET_NTP_LI_AC\fP 0x3"
1321: .br
1322: .ti -1c
1323: .RI "#define \fBLIBNET_NTP_VN_2\fP 0x2"
1324: .br
1325: .ti -1c
1326: .RI "#define \fBLIBNET_NTP_VN_3\fP 0x3"
1327: .br
1328: .ti -1c
1329: .RI "#define \fBLIBNET_NTP_VN_4\fP 0x4"
1330: .br
1331: .ti -1c
1332: .RI "#define \fBLIBNET_NTP_MODE_R\fP 0x0"
1333: .br
1334: .ti -1c
1335: .RI "#define \fBLIBNET_NTP_MODE_A\fP 0x1"
1336: .br
1337: .ti -1c
1338: .RI "#define \fBLIBNET_NTP_MODE_P\fP 0x2"
1339: .br
1340: .ti -1c
1341: .RI "#define \fBLIBNET_NTP_MODE_C\fP 0x3"
1342: .br
1343: .ti -1c
1344: .RI "#define \fBLIBNET_NTP_MODE_S\fP 0x4"
1345: .br
1346: .ti -1c
1347: .RI "#define \fBLIBNET_NTP_MODE_B\fP 0x5"
1348: .br
1349: .ti -1c
1350: .RI "#define \fBLIBNET_NTP_MODE_RC\fP 0x6"
1351: .br
1352: .ti -1c
1353: .RI "#define \fBLIBNET_NTP_MODE_RP\fP 0x7"
1354: .br
1355: .ti -1c
1356: .RI "#define \fBLIBNET_NTP_STRATUM_UNAVAIL\fP 0x0"
1357: .br
1358: .ti -1c
1359: .RI "#define \fBLIBNET_NTP_STRATUM_PRIMARY\fP 0x1"
1360: .br
1361: .ti -1c
1362: .RI "#define \fBLIBNET_NTP_REF_LOCAL\fP 0x4c4f434c"
1363: .br
1364: .ti -1c
1365: .RI "#define \fBLIBNET_NTP_REF_PPS\fP 0x50505300"
1366: .br
1367: .ti -1c
1368: .RI "#define \fBLIBNET_NTP_REF_ACTS\fP 0x41435453"
1369: .br
1370: .ti -1c
1371: .RI "#define \fBLIBNET_NTP_REF_USNO\fP 0x55534e4f"
1372: .br
1373: .ti -1c
1374: .RI "#define \fBLIBNET_NTP_REF_PTB\fP 0x50544200"
1375: .br
1376: .ti -1c
1377: .RI "#define \fBLIBNET_NTP_REF_TDF\fP 0x54444600"
1378: .br
1379: .ti -1c
1380: .RI "#define \fBLIBNET_NTP_REF_DCF\fP 0x44434600"
1381: .br
1382: .ti -1c
1383: .RI "#define \fBLIBNET_NTP_REF_MSF\fP 0x4d534600"
1384: .br
1385: .ti -1c
1386: .RI "#define \fBLIBNET_NTP_REF_WWV\fP 0x57575600"
1387: .br
1388: .ti -1c
1389: .RI "#define \fBLIBNET_NTP_REF_WWVB\fP 0x57575642"
1390: .br
1391: .ti -1c
1392: .RI "#define \fBLIBNET_NTP_REF_WWVH\fP 0x57575648"
1393: .br
1394: .ti -1c
1395: .RI "#define \fBLIBNET_NTP_REF_CHU\fP 0x43485500"
1396: .br
1397: .ti -1c
1398: .RI "#define \fBLIBNET_NTP_REF_LORC\fP 0x4c4f5243"
1399: .br
1400: .ti -1c
1401: .RI "#define \fBLIBNET_NTP_REF_OMEG\fP 0x4f4d4547"
1402: .br
1403: .ti -1c
1404: .RI "#define \fBLIBNET_NTP_REF_GPS\fP 0x47505300"
1405: .br
1406: .ti -1c
1407: .RI "#define \fBLIBNET_NTP_REF_GOES\fP 0x474f4553"
1408: .br
1409: .ti -1c
1410: .RI "#define \fBOSPFVERSION\fP 2"
1411: .br
1412: .ti -1c
1413: .RI "#define \fBLIBNET_OSPF_UMD\fP 0"
1414: .br
1415: .ti -1c
1416: .RI "#define \fBLIBNET_OSPF_HELLO\fP 1"
1417: .br
1418: .ti -1c
1419: .RI "#define \fBLIBNET_OSPF_DBD\fP 2"
1420: .br
1421: .ti -1c
1422: .RI "#define \fBLIBNET_OSPF_LSR\fP 3"
1423: .br
1424: .ti -1c
1425: .RI "#define \fBLIBNET_OSPF_LSU\fP 4"
1426: .br
1427: .ti -1c
1428: .RI "#define \fBLIBNET_OSPF_LSA\fP 5"
1429: .br
1430: .ti -1c
1431: .RI "#define \fBLIBNET_OSPF_AUTH_NULL\fP 0"
1432: .br
1433: .ti -1c
1434: .RI "#define \fBLIBNET_OSPF_AUTH_SIMPLE\fP 1"
1435: .br
1436: .ti -1c
1437: .RI "#define \fBLIBNET_OSPF_AUTH_MD5\fP 2"
1438: .br
1439: .ti -1c
1440: .RI "#define \fBLIBNET_DBD_IBI\fP 0x01"
1441: .br
1442: .ti -1c
1443: .RI "#define \fBLIBNET_DBD_MBIT\fP 0x02"
1444: .br
1445: .ti -1c
1446: .RI "#define \fBLIBNET_DBD_MSBIT\fP 0x04"
1447: .br
1448: .ti -1c
1449: .RI "#define \fBLIBNET_LS_TYPE_RTR\fP 1"
1450: .br
1451: .ti -1c
1452: .RI "#define \fBLIBNET_LS_TYPE_NET\fP 2"
1453: .br
1454: .ti -1c
1455: .RI "#define \fBLIBNET_LS_TYPE_IP\fP 3"
1456: .br
1457: .ti -1c
1458: .RI "#define \fBLIBNET_LS_TYPE_ASBR\fP 4"
1459: .br
1460: .ti -1c
1461: .RI "#define \fBLIBNET_LS_TYPE_ASEXT\fP 5"
1462: .br
1463: .ti -1c
1464: .RI "#define \fBLIBNET_RTR_FLAGS_W\fP 0x0100"
1465: .br
1466: .ti -1c
1467: .RI "#define \fBLIBNET_RTR_FLAGS_E\fP 0x0200"
1468: .br
1469: .ti -1c
1470: .RI "#define \fBLIBNET_RTR_FLAGS_B\fP 0x0400"
1471: .br
1472: .ti -1c
1473: .RI "#define \fBLIBNET_LINK_ID_NBR_ID\fP 1"
1474: .br
1475: .ti -1c
1476: .RI "#define \fBLIBNET_LINK_ID_IP_DES\fP 2"
1477: .br
1478: .ti -1c
1479: .RI "#define \fBLIBNET_LINK_ID_SUB\fP 3"
1480: .br
1481: .ti -1c
1482: .RI "#define \fBLIBNET_RTR_TYPE_PTP\fP 1"
1483: .br
1484: .ti -1c
1485: .RI "#define \fBLIBNET_RTR_TYPE_TRANS\fP 2"
1486: .br
1487: .ti -1c
1488: .RI "#define \fBLIBNET_RTR_TYPE_STUB\fP 3"
1489: .br
1490: .ti -1c
1491: .RI "#define \fBRTR_TYPE_VRTL\fP 4"
1492: .br
1493: .ti -1c
1494: .RI "#define \fBLIBNET_AS_E_BIT_ON\fP 0x80000000"
1495: .br
1496: .ti -1c
1497: .RI "#define \fBRIPCMD_REQUEST\fP 1"
1498: .br
1499: .ti -1c
1500: .RI "#define \fBRIPCMD_RESPONSE\fP 2"
1501: .br
1502: .ti -1c
1503: .RI "#define \fBRIPCMD_TRACEON\fP 3"
1504: .br
1505: .ti -1c
1506: .RI "#define \fBRIPCMD_TRACEOFF\fP 4"
1507: .br
1508: .ti -1c
1509: .RI "#define \fBRIPCMD_POLL\fP 5"
1510: .br
1511: .ti -1c
1512: .RI "#define \fBRIPCMD_POLLENTRY\fP 6"
1513: .br
1514: .ti -1c
1515: .RI "#define \fBRIPCMD_MAX\fP 7"
1516: .br
1517: .ti -1c
1518: .RI "#define \fBRIPVER_0\fP 0"
1519: .br
1520: .ti -1c
1521: .RI "#define \fBRIPVER_1\fP 1"
1522: .br
1523: .ti -1c
1524: .RI "#define \fBRIPVER_2\fP 2"
1525: .br
1526: .ti -1c
1527: .RI "#define \fBLIBNET_RPC_CALL\fP 0"
1528: .br
1529: .ti -1c
1530: .RI "#define \fBLIBNET_RPC_REPLY\fP 1"
1531: .br
1532: .ti -1c
1533: .RI "#define \fBLIBNET_RPC_VERS\fP 2"
1534: .br
1535: .ti -1c
1536: .RI "#define \fBLIBNET_RPC_LAST_FRAG\fP 0x80000000"
1537: .br
1538: .ti -1c
1539: .RI "#define \fBLIBNET_PMAP_PROGRAM\fP 100000"
1540: .br
1541: .ti -1c
1542: .RI "#define \fBLIBNET_PMAP_PROC_NULL\fP 0"
1543: .br
1544: .ti -1c
1545: .RI "#define \fBLIBNET_PMAP_PROC_SET\fP 1"
1546: .br
1547: .ti -1c
1548: .RI "#define \fBLIBNET_PMAP_PROC_UNSET\fP 2"
1549: .br
1550: .ti -1c
1551: .RI "#define \fBLIBNET_PMAP_PROC_GETADDR\fP 3"
1552: .br
1553: .ti -1c
1554: .RI "#define \fBLIBNET_PMAP_PROC_DUMP\fP 4"
1555: .br
1556: .ti -1c
1557: .RI "#define \fBLIBNET_PMAP_PROC_CALLIT\fP 5"
1558: .br
1559: .ti -1c
1560: .RI "#define \fBLIBNET_PMAP_PROC_BCAST\fP 5"
1561: .br
1562: .ti -1c
1563: .RI "#define \fBLIBNET_PMAP_PROC_GETTIME\fP 6"
1564: .br
1565: .ti -1c
1566: .RI "#define \fBLIBNET_PMAP_PROC_UADDR2TADDR\fP 7"
1567: .br
1568: .ti -1c
1569: .RI "#define \fBLIBNET_PMAP_PROC_TADDR2UADDR\fP 8"
1570: .br
1571: .ti -1c
1572: .RI "#define \fBLIBNET_PMAP_PROC_GETVERSADDR\fP 9"
1573: .br
1574: .ti -1c
1575: .RI "#define \fBLIBNET_PMAP_PROC_INDIRECT\fP 10"
1576: .br
1577: .ti -1c
1578: .RI "#define \fBLIBNET_PMAP_PROC_GETADDRLIST\fP 11"
1579: .br
1580: .ti -1c
1581: .RI "#define \fBLIBNET_PMAP_PROC_GETSTAT\fP 12"
1582: .br
1583: .ti -1c
1584: .RI "#define \fBTH_FIN\fP 0x01"
1585: .br
1586: .ti -1c
1587: .RI "#define \fBTH_SYN\fP 0x02"
1588: .br
1589: .ti -1c
1590: .RI "#define \fBTH_RST\fP 0x04"
1591: .br
1592: .ti -1c
1593: .RI "#define \fBTH_PUSH\fP 0x08"
1594: .br
1595: .ti -1c
1596: .RI "#define \fBTH_ACK\fP 0x10"
1597: .br
1598: .ti -1c
1599: .RI "#define \fBTH_URG\fP 0x20"
1600: .br
1601: .ti -1c
1602: .RI "#define \fBTH_ECE\fP 0x40"
1603: .br
1604: .ti -1c
1605: .RI "#define \fBTH_CWR\fP 0x80"
1606: .br
1607: .ti -1c
1608: .RI "#define \fBLIBNET_TOKEN_RING_FRAME\fP 0x10"
1609: .br
1610: .ti -1c
1611: .RI "#define \fBLIBNET_TOKEN_RING_LLC_FRAME\fP 0x40"
1612: .br
1613: .ti -1c
1614: .RI "#define \fBTOKEN_RING_TYPE_IP\fP 0x0800"
1615: .br
1616: .ti -1c
1617: .RI "#define \fBTOKEN_RING_TYPE_ARP\fP 0x0806"
1618: .br
1619: .ti -1c
1620: .RI "#define \fBTOKEN_RING_TYPE_REVARP\fP 0x8035"
1621: .br
1622: .ti -1c
1623: .RI "#define \fBSEBEK_PROTO_VERSION\fP 1"
1624: .br
1625: .ti -1c
1626: .RI "#define \fBSEBEK_TYPE_READ\fP 0"
1627: .br
1628: .ti -1c
1629: .RI "#define \fBSEBEK_TYPE_WRITE\fP 1"
1630: .br
1631: .ti -1c
1632: .RI "#define \fBSEBEK_CMD_LENGTH\fP 12"
1633: .br
1634: .ti -1c
1635: .RI "#define \fBIPPROTO_VRRP\fP 112"
1636: .br
1637: .ti -1c
1638: .RI "#define \fBLIBNET_VRRP_VERSION_01\fP 0x1"
1639: .br
1640: .ti -1c
1641: .RI "#define \fBLIBNET_VRRP_VERSION_02\fP 0x2"
1642: .br
1643: .ti -1c
1644: .RI "#define \fBLIBNET_VRRP_TYPE_ADVERT\fP 0x1"
1645: .br
1646: .ti -1c
1647: .RI "#define \fBLIBNET_VRRP_AUTH_NONE\fP 0x1"
1648: .br
1649: .ti -1c
1650: .RI "#define \fBLIBNET_VRRP_AUTH_PASSWD\fP 0x2"
1651: .br
1652: .ti -1c
1653: .RI "#define \fBLIBNET_VRRP_AUTH_IPAH\fP 0x3"
1654: .br
1655: .in -1c
1656: .SH "Detailed Description"
1657: .PP
1658: libnet header information
1659:
1660:
1661: .SH "Define Documentation"
1662: .PP
1663: .SS "#define LIBNET_802_1Q_CFIMASK 0x0001"
1664: .PP
1665: CFI mask
1666: .SS "#define LIBNET_802_1Q_H 0x12"
1667: .PP
1668: 802.1Q header: 18 bytes
1669: .SS "#define LIBNET_802_1Q_PRIMASK 0x0007"
1670: .PP
1671: priority mask
1672: .SS "#define LIBNET_802_1Q_VIDMASK 0x0fff"
1673: .PP
1674: vid mask
1675: .SS "#define LIBNET_802_1X_ENCASFAL 0x04"
1676: .PP
1677: 802.1x encasfal
1678: .SS "#define LIBNET_802_1X_H 0x04"
1679: .PP
1680: 802.1X header: 4 bytes
1681: .SS "#define LIBNET_802_1X_KEY 0x03"
1682: .PP
1683: 802.1x key
1684: .SS "#define LIBNET_802_1X_LOGOFF 0x02"
1685: .PP
1686: 802.1x logoff
1687: .SS "#define LIBNET_802_1X_PACKET 0x00"
1688: .PP
1689: 802.1x packet
1690: .SS "#define LIBNET_802_1X_START 0x01"
1691: .PP
1692: 802.1x start
1693: .SS "#define LIBNET_802_2_H 0x03"
1694: .PP
1695: 802.2 LLC header: 3 bytes
1696: .SS "#define LIBNET_802_2SNAP_H 0x08"
1697: .PP
1698: 802.2 LLC/SNAP header:8 bytes
1699: .SS "#define LIBNET_802_3_H 0x0e"
1700: .PP
1701: 802.3 header: 14 bytes
1702: .SS "#define LIBNET_ARP_ETH_IP_H 0x1c"
1703: .PP
1704: ARP w/ ETH and IP: 28 bytes
1705: .SS "#define LIBNET_ARP_H 0x08"
1706: .PP
1707: ARP header w/o addrs: 8 bytes
1708: .SS "#define LIBNET_BGP4_HEADER_H 0x13"
1709: .PP
1710: BGP header: 19 bytes
1711: .SS "#define LIBNET_BGP4_NOTIFICATION_H 0x02"
1712: .PP
1713: BGP notif. header: 2 bytes
1714: .SS "#define LIBNET_BGP4_OPEN_H 0x0a"
1715: .PP
1716: BGP open header: 10 bytes
1717: .SS "#define LIBNET_BGP4_UPDATE_H 0x04"
1718: .PP
1719: BGP open header: 4 bytes
1720: .SS "#define LIBNET_CDP_H 0x08"
1721: .PP
1722: CDP header base: 8 bytes
1723: .SS "#define LIBNET_DHCPV4_H 0xf0"
1724: .PP
1725: DHCP v4 header: 240 bytes
1726: .SS "#define LIBNET_ETH_H 0x0e"
1727: .PP
1728: Ethernet header: 14 bytes
1729: .SS "#define LIBNET_FDDI_H 0x15"
1730: .PP
1731: FDDI header: 21 bytes
1732: .SS "#define LIBNET_GRE_H 0x04"
1733: .PP
1734: GRE header: 4 bytes
1735: .SS "#define LIBNET_GRE_SRE_H 0x04"
1736: .PP
1737: GRE SRE header: 4 bytes
1738: .SS "#define LIBNET_ICMPV4_ECHO_H 0x08"
1739: .PP
1740: ICMP_ECHO header: 8 bytes
1741: .SS "#define LIBNET_ICMPV4_H 0x04"
1742: .PP
1743: ICMP header base: 4 bytes
1744: .SS "#define LIBNET_ICMPV4_MASK_H 0x0c"
1745: .PP
1746: ICMP_MASK header: 12 bytes
1747: .SS "#define LIBNET_ICMPV4_REDIRECT_H 0x08"
1748: .PP
1749: ICMP_REDIRECT header: 8 bytes
1750: .SS "#define LIBNET_ICMPV4_TIMXCEED_H 0x08"
1751: .PP
1752: ICMP_TIMXCEED header: 8 bytes
1753: .SS "#define LIBNET_ICMPV4_TS_H 0x14"
1754: .PP
1755: ICMP_TIMESTAMP headr:20 bytes
1756: .SS "#define LIBNET_ICMPV4_UNREACH_H 0x08"
1757: .PP
1758: ICMP_UNREACH header: 8 bytes
1759: .SS "#define LIBNET_ICMPV6_H 0x08"
1760: .PP
1761: ICMP6 header base: 8 bytes
1762: .SS "#define LIBNET_IGMP_H 0x08"
1763: .PP
1764: IGMP header: 8 bytes
1765: .SS "#define LIBNET_IPSEC_AH_H 0x10"
1766: .PP
1767: IPSEC AH header: 16 bytes
1768: .SS "#define LIBNET_IPSEC_ESP_FTR_H 0x02"
1769: .PP
1770: IPSEC ESP footer: 2 bytes
1771: .SS "#define LIBNET_IPSEC_ESP_HDR_H 0x0c"
1772: .PP
1773: IPSEC ESP header: 12 bytes
1774: .SS "#define LIBNET_IPV4_H 0x14"
1775: .PP
1776: IPv4 header: 20 bytes
1777: .SS "#define LIBNET_IPV6_DESTOPTS_H 0x02"
1778: .PP
1779: IPv6 dest opts base: 2 bytes
1780: .SS "#define LIBNET_IPV6_FRAG_H 0x08"
1781: .PP
1782: IPv6 frag header: 8 bytes
1783: .SS "#define LIBNET_IPV6_H 0x28"
1784: .PP
1785: IPv6 header: 40 bytes
1786: .SS "#define LIBNET_IPV6_HBHOPTS_H 0x02"
1787: .PP
1788: IPv6 hop/hop opt base:2 bytes
1789: .SS "#define LIBNET_IPV6_ROUTING_H 0x04"
1790: .PP
1791: IPv6 frag header base:4 bytes
1792: .SS "#define LIBNET_ISL_H 0x1a"
1793: .PP
1794: ISL header: 26 bytes
1795: .SS "#define LIBNET_MPLS_H 0x04"
1796: .PP
1797: MPLS header: 4 bytes
1798: .SS "#define LIBNET_NTP_H 0x30"
1799: .PP
1800: NTP header: 48 bytes
1801: .SS "#define LIBNET_OSPF_AUTH_H 0x08"
1802: .PP
1803: OSPF AUTH header: 8 bytes
1804: .SS "#define LIBNET_OSPF_CKSUM 0x10"
1805: .PP
1806: OSPF CKSUM header: 16 bytes
1807: .SS "#define LIBNET_OSPF_DBD_H 0x08"
1808: .PP
1809: OSPF DBD header: 8 bytes
1810: .SS "#define LIBNET_OSPF_H 0x10"
1811: .PP
1812: OSPF header: 16 bytes
1813: .SS "#define LIBNET_OSPF_HELLO_H 0x18"
1814: .PP
1815: OSPF hello header: 24 bytes
1816: .SS "#define LIBNET_OSPF_LS_AS_EXT_H 0x10"
1817: .PP
1818: OSPF LS AS header: 16 bytes
1819: .SS "#define LIBNET_OSPF_LS_NET_H 0x08"
1820: .PP
1821: OSPF LS NET header: 8 bytes
1822: .SS "#define LIBNET_OSPF_LS_RTR_H 0x10"
1823: .PP
1824: OSPF LS RTR header: 16 bytes
1825: .SS "#define LIBNET_OSPF_LS_SUM_H 0x0c"
1826: .PP
1827: OSPF LS SUM header: 12 bytes
1828: .SS "#define LIBNET_OSPF_LSA_H 0x14"
1829: .PP
1830: OSPF LSA header: 20 bytes
1831: .SS "#define LIBNET_OSPF_LSR_H 0x0c"
1832: .PP
1833: OSPF LSR header: 12 bytes
1834: .SS "#define LIBNET_OSPF_LSU_H 0x04"
1835: .PP
1836: OSPF LSU header: 4 bytes
1837: .SS "#define LIBNET_RIP_H 0x18"
1838: .PP
1839: RIP header base: 24 bytes
1840: .SS "#define LIBNET_RPC_CALL_H 0x28"
1841: .PP
1842: RPC header: 40 bytes (assuming 8 byte auth header)
1843: .SS "#define LIBNET_RPC_CALL_TCP_H 0x2c"
1844: .PP
1845: RPC header: 44 bytes (with record marking)
1846: .SS "#define LIBNET_STP_CONF_H 0x23"
1847: .PP
1848: STP conf header: 35 bytes
1849: .SS "#define LIBNET_STP_TCN_H 0x04"
1850: .PP
1851: STP tcn header: 4 bytes
1852: .SS "#define LIBNET_TCP_DNSV4_H 0x0e"
1853: .PP
1854: TCP DNS v4 header: 14 bytes
1855: .SS "#define LIBNET_TCP_H 0x14"
1856: .PP
1857: TCP header: 20 bytes
1858: .SS "#define LIBNET_TOKEN_RING_H 0x16"
1859: .PP
1860: Token Ring header: 22 bytes
1861: .SS "#define LIBNET_UDP_DNSV4_H 0x0c"
1862: .PP
1863: UDP DNS v4 header: 12 bytes
1864: .SS "#define LIBNET_UDP_H 0x08"
1865: .PP
1866: UDP header: 8 bytes
1867: .SS "#define LIBNET_VRRP_H 0x08"
1868: .PP
1869: VRRP header: 8 bytes
1870: .SH "Author"
1871: .PP
1872: Generated automatically by Doxygen for libnet from the source code.
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>