equal
deleted
inserted
replaced
457 provides a simplified, portable interface to several low-level |
457 provides a simplified, portable interface to several low-level |
458 networking routines, including network address manipulation, kernel |
458 networking routines, including network address manipulation, kernel |
459 -.Xr arp 4 |
459 -.Xr arp 4 |
460 -cache and |
460 -cache and |
461 -.Xr route 4 |
461 -.Xr route 4 |
462 +arp(4) |
462 +arp(8) |
463 +cache and |
463 +cache and |
464 +route(4) |
464 +route(8) |
465 table lookup and manipulation, network firewalling, network interface |
465 table lookup and manipulation, network firewalling, network interface |
466 lookup and manipulation, and raw IP packet and Ethernet frame |
466 lookup and manipulation, and raw IP packet and Ethernet frame |
467 transmission. It is intended to complement the functionality provided |
467 transmission. It is intended to complement the functionality provided |
468 by |
468 by |
469 -.Xr pcap 3 . |
469 -.Xr pcap 3 . |
630 +.fi |
630 +.fi |
631 +.PP |
631 +.PP |
632 +arp_open |
632 +arp_open |
633 is used to obtain a handle to access the kernel |
633 is used to obtain a handle to access the kernel |
634 -.Xr arp 4 |
634 -.Xr arp 4 |
635 +arp(4) |
635 +arp(8) |
636 cache. |
636 cache. |
637 -.Pp |
637 -.Pp |
638 -.Fn arp_add |
638 -.Fn arp_add |
639 +.PP |
639 +.PP |
640 +arp_add |
640 +arp_add |
665 +arp_pa. |
665 +arp_pa. |
666 +.PP |
666 +.PP |
667 +arp_loop |
667 +arp_loop |
668 iterates over the kernel |
668 iterates over the kernel |
669 -.Xr arp 4 |
669 -.Xr arp 4 |
670 +arp(4) |
670 +arp(8) |
671 cache, invoking the specified |
671 cache, invoking the specified |
672 -.Fa callback |
672 -.Fa callback |
673 +callback |
673 +callback |
674 with each |
674 with each |
675 -.Fa entry |
675 -.Fa entry |
1277 +.fi |
1277 +.fi |
1278 +.PP |
1278 +.PP |
1279 +route_open |
1279 +route_open |
1280 is used to obtain a handle to access the kernel |
1280 is used to obtain a handle to access the kernel |
1281 -.Xr route 4 |
1281 -.Xr route 4 |
1282 +route(4) |
1282 +route(8) |
1283 table. |
1283 table. |
1284 -.Pp |
1284 -.Pp |
1285 -.Fn route_add |
1285 -.Fn route_add |
1286 +.PP |
1286 +.PP |
1287 +route_add |
1287 +route_add |
1312 +route_dst. |
1312 +route_dst. |
1313 +.PP |
1313 +.PP |
1314 +route_loop |
1314 +route_loop |
1315 iterates over the kernel |
1315 iterates over the kernel |
1316 -.Xr route 4 |
1316 -.Xr route 4 |
1317 +route(4) |
1317 +route(8) |
1318 table, invoking the specified |
1318 table, invoking the specified |
1319 -.Fa callback |
1319 -.Fa callback |
1320 +callback |
1320 +callback |
1321 with each |
1321 with each |
1322 -.Fa entry |
1322 -.Fa entry |