Annotation of embedaddon/libnet/doc/man/man3/libnet-macros.3, revision 1.1
1.1 ! misho 1: .TH "libnet-macros.h" 3 "Tue Oct 15 2019" "libnet-1.2" "libnet Programmers Guide" \" -*- nroff -*-
! 2: .ad l
! 3: .nh
! 4: .SH NAME
! 5: libnet-macros.h \- libnet macros and symbolic constants
! 6:
! 7: .SH SYNOPSIS
! 8: .br
! 9: .PP
! 10: .SS "Macros"
! 11:
! 12: .in +1c
! 13: .ti -1c
! 14: .RI "#define \fBLIBNET_DONT_RESOLVE\fP 0"
! 15: .br
! 16: .ti -1c
! 17: .RI "#define \fBLIBNET_RESOLVE\fP 1"
! 18: .br
! 19: .ti -1c
! 20: .RI "#define \fBLIBNET_ON\fP 0"
! 21: .br
! 22: .ti -1c
! 23: .RI "#define \fBLIBNET_OFF\fP 1"
! 24: .br
! 25: .ti -1c
! 26: .RI "#define \fBIN6ADDR_ERROR_INIT\fP"
! 27: .br
! 28: .ti -1c
! 29: .RI "#define \fBLIBNET_PR2\fP 0"
! 30: .br
! 31: .ti -1c
! 32: .RI "#define \fBLIBNET_MAX_PACKET\fP 0xffff"
! 33: .br
! 34: .ti -1c
! 35: .RI "#define \fBLIBNET_ERRBUF_SIZE\fP 0x100"
! 36: .br
! 37: .ti -1c
! 38: .RI "#define \fBLIBNET_MAXOPTION_SIZE\fP 0x28"
! 39: .br
! 40: .ti -1c
! 41: .RI "#define \fBfor_each_context_in_cq\fP(l) for (l = \fBlibnet_cq_head\fP(); \fBlibnet_cq_last\fP(); l = \fBlibnet_cq_next\fP())"
! 42: .br
! 43: .in -1c
! 44: .SH "Detailed Description"
! 45: .PP
! 46: libnet macros and symbolic constants
! 47:
! 48:
! 49: .SH "Macro Definition Documentation"
! 50: .PP
! 51: .SS "#define for_each_context_in_cq(l) for (l = \fBlibnet_cq_head\fP(); \fBlibnet_cq_last\fP(); l = \fBlibnet_cq_next\fP())"
! 52: Provides an interface to iterate through the context queue of libnet contexts\&. Before calling this macro, be sure to set the queue using \fBlibnet_cq_head()\fP\&.
! 53: .SS "#define IN6ADDR_ERROR_INIT"
! 54: \fBValue:\fP
! 55: .PP
! 56: .nf
! 57: { { { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, \
! 58: 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, \
! 59: 0xff, 0xff } } }
! 60: .fi
! 61: IPv6 error code
! 62: .SS "#define LIBNET_DONT_RESOLVE 0"
! 63: Used for libnet's name resolution functions, specifies that no DNS lookups should be performed and the IP address should be kept in numeric form\&.
! 64: .SS "#define LIBNET_ERRBUF_SIZE 0x100"
! 65: The libnet error buffer is 256 bytes long\&.
! 66: .SS "#define LIBNET_MAX_PACKET 0xffff"
! 67: The biggest an IP packet can be -- 65,535 bytes\&.
! 68: .SS "#define LIBNET_MAXOPTION_SIZE 0x28"
! 69: IP and TCP options can be up to 40 bytes long\&.
! 70: .SS "#define LIBNET_OFF 1"
! 71: Used several places, to specify 'on' or 'one'
! 72: .SS "#define LIBNET_ON 0"
! 73: Used several places, to specify 'on' or 'one'
! 74: .SS "#define LIBNET_PR2 0"
! 75: Used for \fBlibnet_get_prand()\fP to specify function disposition
! 76: .SS "#define LIBNET_RESOLVE 1"
! 77: Used for libnet's name resolution functions, specifies that a DNS lookup can be performed if needed to resolve the IP address to a canonical form\&.
! 78: .SH "SEE ALSO"
! 79: \.IX Header "SEE ALSO"
! 80: libnet(3)
! 81: .SH "AUTHORS"
! 82: .IX Header "AUTHORS"
! 83: The original author of libnet is Mike D. Schiffman.
! 84: .PP
! 85: libnet has been maintained and extensively enhanced since 2009 by Sam Roberts.
! 86: .PP
! 87: It is maintained by the Libnet Developer Community at GitHub.
! 88: .PP
! 89: .Vb 1
! 90: \& <https://github.com/libnet/libnet>
! 91: .Ve
! 92: .SH "BUGS"
! 93: .IX Header "BUGS"
! 94: Suggestions, bug reports/fixes, and pull requests, see:
! 95: .PP
! 96: .Vb 1
! 97: \& <https://github.com/libnet/libnet/issues>
! 98: .Ve
! 99: .SH "COPYRIGHT"
! 100: .IX Header "COPYRIGHT"
! 101: libnet is licensed under the 3\-Clause \s-1BSD\s0 License.
! 102: .SH "SEE ALSO"
! 103: \.IX Header "SEE ALSO"
! 104: libnet(3)
! 105: .SH "AUTHORS"
! 106: .IX Header "AUTHORS"
! 107: The original author of libnet is Mike D. Schiffman.
! 108: .PP
! 109: libnet has been maintained and extensively enhanced since 2009 by Sam Roberts.
! 110: .PP
! 111: It is maintained by the Libnet Developer Community at GitHub.
! 112: .PP
! 113: .Vb 1
! 114: \& <https://github.com/libnet/libnet>
! 115: .Ve
! 116: .SH "BUGS"
! 117: .IX Header "BUGS"
! 118: Suggestions, bug reports/fixes, and pull requests, see:
! 119: .PP
! 120: .Vb 1
! 121: \& <https://github.com/libnet/libnet/issues>
! 122: .Ve
! 123: .SH "COPYRIGHT"
! 124: .IX Header "COPYRIGHT"
! 125: libnet is licensed under the 3\-Clause \s-1BSD\s0 License.
! 126: .SH "SEE ALSO"
! 127: \.IX Header "SEE ALSO"
! 128: libnet(3)
! 129: .SH "AUTHORS"
! 130: .IX Header "AUTHORS"
! 131: The original author of libnet is Mike D. Schiffman.
! 132: .PP
! 133: libnet has been maintained and extensively enhanced since 2009 by Sam Roberts.
! 134: .PP
! 135: It is maintained by the Libnet Developer Community at GitHub.
! 136: .PP
! 137: .Vb 1
! 138: \& <https://github.com/libnet/libnet>
! 139: .Ve
! 140: .SH "BUGS"
! 141: .IX Header "BUGS"
! 142: Suggestions, bug reports/fixes, and pull requests, see:
! 143: .PP
! 144: .Vb 1
! 145: \& <https://github.com/libnet/libnet/issues>
! 146: .Ve
! 147: .SH "COPYRIGHT"
! 148: .IX Header "COPYRIGHT"
! 149: libnet is licensed under the 3\-Clause \s-1BSD\s0 License.
! 150: .SH "SEE ALSO"
! 151: \.IX Header "SEE ALSO"
! 152: libnet(3)
! 153: .SH "AUTHORS"
! 154: .IX Header "AUTHORS"
! 155: The original author of libnet is Mike D. Schiffman.
! 156: .PP
! 157: libnet has been maintained and extensively enhanced since 2009 by Sam Roberts.
! 158: .PP
! 159: It is maintained by the Libnet Developer Community at GitHub.
! 160: .PP
! 161: .Vb 1
! 162: \& <https://github.com/libnet/libnet>
! 163: .Ve
! 164: .SH "BUGS"
! 165: .IX Header "BUGS"
! 166: Suggestions, bug reports/fixes, and pull requests, see:
! 167: .PP
! 168: .Vb 1
! 169: \& <https://github.com/libnet/libnet/issues>
! 170: .Ve
! 171: .SH "COPYRIGHT"
! 172: .IX Header "COPYRIGHT"
! 173: libnet is licensed under the 3\-Clause \s-1BSD\s0 License.
! 174: .SH "SEE ALSO"
! 175: \.IX Header "SEE ALSO"
! 176: libnet(3)
! 177: .SH "AUTHORS"
! 178: .IX Header "AUTHORS"
! 179: The original author of libnet is Mike D. Schiffman.
! 180: .PP
! 181: libnet has been maintained and extensively enhanced since 2009 by Sam Roberts.
! 182: .PP
! 183: It is maintained by the Libnet Developer Community at GitHub.
! 184: .PP
! 185: .Vb 1
! 186: \& <https://github.com/libnet/libnet>
! 187: .Ve
! 188: .SH "BUGS"
! 189: .IX Header "BUGS"
! 190: Suggestions, bug reports/fixes, and pull requests, see:
! 191: .PP
! 192: .Vb 1
! 193: \& <https://github.com/libnet/libnet/issues>
! 194: .Ve
! 195: .SH "COPYRIGHT"
! 196: .IX Header "COPYRIGHT"
! 197: libnet is licensed under the 3\-Clause \s-1BSD\s0 License.
! 198: .SH "SEE ALSO"
! 199: \.IX Header "SEE ALSO"
! 200: libnet(3)
! 201: .SH "AUTHORS"
! 202: .IX Header "AUTHORS"
! 203: The original author of libnet is Mike D. Schiffman.
! 204: .PP
! 205: libnet has been maintained and extensively enhanced since 2009 by Sam Roberts.
! 206: .PP
! 207: It is maintained by the Libnet Developer Community at GitHub.
! 208: .PP
! 209: .Vb 1
! 210: \& <https://github.com/libnet/libnet>
! 211: .Ve
! 212: .SH "BUGS"
! 213: .IX Header "BUGS"
! 214: Suggestions, bug reports/fixes, and pull requests, see:
! 215: .PP
! 216: .Vb 1
! 217: \& <https://github.com/libnet/libnet/issues>
! 218: .Ve
! 219: .SH "COPYRIGHT"
! 220: .IX Header "COPYRIGHT"
! 221: libnet is licensed under the 3\-Clause \s-1BSD\s0 License.
! 222: .SH "SEE ALSO"
! 223: \.IX Header "SEE ALSO"
! 224: libnet(3)
! 225: .SH "AUTHORS"
! 226: .IX Header "AUTHORS"
! 227: The original author of libnet is Mike D. Schiffman.
! 228: .PP
! 229: libnet has been maintained and extensively enhanced since 2009 by Sam Roberts.
! 230: .PP
! 231: It is maintained by the Libnet Developer Community at GitHub.
! 232: .PP
! 233: .Vb 1
! 234: \& <https://github.com/libnet/libnet>
! 235: .Ve
! 236: .SH "BUGS"
! 237: .IX Header "BUGS"
! 238: Suggestions, bug reports/fixes, and pull requests, see:
! 239: .PP
! 240: .Vb 1
! 241: \& <https://github.com/libnet/libnet/issues>
! 242: .Ve
! 243: .SH "COPYRIGHT"
! 244: .IX Header "COPYRIGHT"
! 245: libnet is licensed under the 3\-Clause \s-1BSD\s0 License.
! 246: .SH "SEE ALSO"
! 247: \.IX Header "SEE ALSO"
! 248: libnet(3)
! 249: .SH "AUTHORS"
! 250: .IX Header "AUTHORS"
! 251: The original author of libnet is Mike D. Schiffman.
! 252: .PP
! 253: libnet has been maintained and extensively enhanced since 2009 by Sam Roberts.
! 254: .PP
! 255: It is maintained by the Libnet Developer Community at GitHub.
! 256: .PP
! 257: .Vb 1
! 258: \& <https://github.com/libnet/libnet>
! 259: .Ve
! 260: .SH "BUGS"
! 261: .IX Header "BUGS"
! 262: Suggestions, bug reports/fixes, and pull requests, see:
! 263: .PP
! 264: .Vb 1
! 265: \& <https://github.com/libnet/libnet/issues>
! 266: .Ve
! 267: .SH "COPYRIGHT"
! 268: .IX Header "COPYRIGHT"
! 269: libnet is licensed under the 3\-Clause \s-1BSD\s0 License.
! 270: .SH "SEE ALSO"
! 271: \.IX Header "SEE ALSO"
! 272: libnet(3)
! 273: .SH "AUTHORS"
! 274: .IX Header "AUTHORS"
! 275: The original author of libnet is Mike D. Schiffman.
! 276: .PP
! 277: libnet has been maintained and extensively enhanced since 2009 by Sam Roberts.
! 278: .PP
! 279: It is maintained by the Libnet Developer Community at GitHub.
! 280: .PP
! 281: .Vb 1
! 282: \& <https://github.com/libnet/libnet>
! 283: .Ve
! 284: .SH "BUGS"
! 285: .IX Header "BUGS"
! 286: Suggestions, bug reports/fixes, and pull requests, see:
! 287: .PP
! 288: .Vb 1
! 289: \& <https://github.com/libnet/libnet/issues>
! 290: .Ve
! 291: .SH "COPYRIGHT"
! 292: .IX Header "COPYRIGHT"
! 293: libnet is licensed under the 3\-Clause \s-1BSD\s0 License.
! 294: .SH "SEE ALSO"
! 295: \.IX Header "SEE ALSO"
! 296: libnet(3)
! 297: .SH "AUTHORS"
! 298: .IX Header "AUTHORS"
! 299: The original author of libnet is Mike D. Schiffman.
! 300: .PP
! 301: libnet has been maintained and extensively enhanced since 2009 by Sam Roberts.
! 302: .PP
! 303: It is maintained by the Libnet Developer Community at GitHub.
! 304: .PP
! 305: .Vb 1
! 306: \& <https://github.com/libnet/libnet>
! 307: .Ve
! 308: .SH "BUGS"
! 309: .IX Header "BUGS"
! 310: Suggestions, bug reports/fixes, and pull requests, see:
! 311: .PP
! 312: .Vb 1
! 313: \& <https://github.com/libnet/libnet/issues>
! 314: .Ve
! 315: .SH "COPYRIGHT"
! 316: .IX Header "COPYRIGHT"
! 317: libnet is licensed under the 3\-Clause \s-1BSD\s0 License.
! 318: .SH "SEE ALSO"
! 319: \.IX Header "SEE ALSO"
! 320: libnet(3)
! 321: .SH "AUTHORS"
! 322: .IX Header "AUTHORS"
! 323: The original author of libnet is Mike D. Schiffman.
! 324: .PP
! 325: libnet has been maintained and extensively enhanced since 2009 by Sam Roberts.
! 326: .PP
! 327: It is maintained by the Libnet Developer Community at GitHub.
! 328: .PP
! 329: .Vb 1
! 330: \& <https://github.com/libnet/libnet>
! 331: .Ve
! 332: .SH "BUGS"
! 333: .IX Header "BUGS"
! 334: Suggestions, bug reports/fixes, and pull requests, see:
! 335: .PP
! 336: .Vb 1
! 337: \& <https://github.com/libnet/libnet/issues>
! 338: .Ve
! 339: .SH "COPYRIGHT"
! 340: .IX Header "COPYRIGHT"
! 341: libnet is licensed under the 3\-Clause \s-1BSD\s0 License.
! 342: .SH "SEE ALSO"
! 343: \.IX Header "SEE ALSO"
! 344: libnet(3)
! 345: .SH "AUTHORS"
! 346: .IX Header "AUTHORS"
! 347: The original author of libnet is Mike D. Schiffman.
! 348: .PP
! 349: libnet has been maintained and extensively enhanced since 2009 by Sam Roberts.
! 350: .PP
! 351: It is maintained by the Libnet Developer Community at GitHub.
! 352: .PP
! 353: .Vb 1
! 354: \& <https://github.com/libnet/libnet>
! 355: .Ve
! 356: .SH "BUGS"
! 357: .IX Header "BUGS"
! 358: Suggestions, bug reports/fixes, and pull requests, see:
! 359: .PP
! 360: .Vb 1
! 361: \& <https://github.com/libnet/libnet/issues>
! 362: .Ve
! 363: .SH "COPYRIGHT"
! 364: .IX Header "COPYRIGHT"
! 365: libnet is licensed under the 3\-Clause \s-1BSD\s0 License.
! 366: .SH "SEE ALSO"
! 367: \.IX Header "SEE ALSO"
! 368: libnet(3)
! 369: .SH "AUTHORS"
! 370: .IX Header "AUTHORS"
! 371: The original author of libnet is Mike D. Schiffman.
! 372: .PP
! 373: libnet has been maintained and extensively enhanced since 2009 by Sam Roberts.
! 374: .PP
! 375: It is maintained by the Libnet Developer Community at GitHub.
! 376: .PP
! 377: .Vb 1
! 378: \& <https://github.com/libnet/libnet>
! 379: .Ve
! 380: .SH "BUGS"
! 381: .IX Header "BUGS"
! 382: Suggestions, bug reports/fixes, and pull requests, see:
! 383: .PP
! 384: .Vb 1
! 385: \& <https://github.com/libnet/libnet/issues>
! 386: .Ve
! 387: .SH "COPYRIGHT"
! 388: .IX Header "COPYRIGHT"
! 389: libnet is licensed under the 3\-Clause \s-1BSD\s0 License.
! 390: .SH "SEE ALSO"
! 391: \.IX Header "SEE ALSO"
! 392: libnet(3)
! 393: .SH "AUTHORS"
! 394: .IX Header "AUTHORS"
! 395: The original author of libnet is Mike D. Schiffman.
! 396: .PP
! 397: libnet has been maintained and extensively enhanced since 2009 by Sam Roberts.
! 398: .PP
! 399: It is maintained by the Libnet Developer Community at GitHub.
! 400: .PP
! 401: .Vb 1
! 402: \& <https://github.com/libnet/libnet>
! 403: .Ve
! 404: .SH "BUGS"
! 405: .IX Header "BUGS"
! 406: Suggestions, bug reports/fixes, and pull requests, see:
! 407: .PP
! 408: .Vb 1
! 409: \& <https://github.com/libnet/libnet/issues>
! 410: .Ve
! 411: .SH "COPYRIGHT"
! 412: .IX Header "COPYRIGHT"
! 413: libnet is licensed under the 3\-Clause \s-1BSD\s0 License.
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>