|
|
DataMuseum.dkPresents historical artifacts from the history of: RC9000 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about RC9000 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - downloadIndex: a
Length: 5069 (0x13cd)
Names: »arp.4p«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./usr/man/cat4/arp.4p«
0x0000…0020 0a 0a 0a 5f 08 4f 5f 08 6e 5f 08 6c 5f 08 69 5f 08 6e 5f 08 65 20 5f 08 4d 5f 08 61 5f 08 6e 5f ┆ _ O_ n_ l_ i_ n_ e _ M_ a_ n_┆
0x0020…0040 08 75 5f 08 61 5f 08 6c 20 20 20 20 20 20 20 20 44 65 76 69 63 65 73 20 61 6e 64 20 46 61 63 69 ┆ u_ a_ l Devices and Faci┆
0x0040…0060 6c 69 74 69 65 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 72 70 28 34 70 29 0a 0a 0a 0a ┆lities arp(4p) ┆
0x0060…0080 4e 08 4e 08 4e 08 4e 41 08 41 08 41 08 41 4d 08 4d 08 4d 08 4d 45 08 45 08 45 08 45 0a 20 20 20 ┆N N N NA A A AM M M ME E E E ┆
0x0080…00a0 20 20 61 72 70 20 2d 20 41 64 64 72 65 73 73 20 52 65 73 6f 6c 75 74 69 6f 6e 20 50 72 6f 74 6f ┆ arp - Address Resolution Proto┆
0x00a0…00c0 63 6f 6c 0a 0a 53 08 53 08 53 08 53 59 08 59 08 59 08 59 4e 08 4e 08 4e 08 4e 54 08 54 08 54 08 ┆col S S S SY Y Y YN N N NT T T ┆
0x00c0…00e0 54 41 08 41 08 41 08 41 58 08 58 08 58 08 58 0a 20 20 20 20 20 23 08 23 08 23 08 23 69 08 69 08 ┆TA A A AX X X X # # # #i i ┆
0x00e0…0100 69 08 69 6e 08 6e 08 6e 08 6e 63 08 63 08 63 08 63 6c 08 6c 08 6c 08 6c 75 08 75 08 75 08 75 64 ┆i in n n nc c c cl l l lu u u ud┆
0x0100…0120 08 64 08 64 08 64 65 08 65 08 65 08 65 20 3c 08 3c 08 3c 08 3c 73 08 73 08 73 08 73 79 08 79 08 ┆ d d de e e e < < < <s s s sy y ┆
0x0120…0140 79 08 79 73 08 73 08 73 08 73 2f 08 2f 08 2f 08 2f 74 08 74 08 74 08 74 79 08 79 08 79 08 79 70 ┆y ys s s s/ / / /t t t ty y y yp┆
0x0140…0160 08 70 08 70 08 70 65 08 65 08 65 08 65 73 08 73 08 73 08 73 2e 08 2e 08 2e 08 2e 68 08 68 08 68 ┆ p p pe e e es s s s. . . .h h h┆
0x0160…0180 08 68 3e 08 3e 08 3e 08 3e 0a 20 20 20 20 20 23 08 23 08 23 08 23 69 08 69 08 69 08 69 6e 08 6e ┆ h> > > > # # # #i i i in n┆
0x0180…01a0 08 6e 08 6e 63 08 63 08 63 08 63 6c 08 6c 08 6c 08 6c 75 08 75 08 75 08 75 64 08 64 08 64 08 64 ┆ n nc c c cl l l lu u u ud d d d┆
0x01a0…01c0 65 08 65 08 65 08 65 20 3c 08 3c 08 3c 08 3c 73 08 73 08 73 08 73 79 08 79 08 79 08 79 73 08 73 ┆e e e e < < < <s s s sy y y ys s┆
0x01c0…01e0 08 73 08 73 2f 08 2f 08 2f 08 2f 69 08 69 08 69 08 69 6f 08 6f 08 6f 08 6f 63 08 63 08 63 08 63 ┆ s s/ / / /i i i io o o oc c c c┆
0x01e0…0200 74 08 74 08 74 08 74 6c 08 6c 08 6c 08 6c 2e 08 2e 08 2e 08 2e 68 08 68 08 68 08 68 3e 08 3e 08 ┆t t t tl l l l. . . .h h h h> > ┆
0x0200…0220 3e 08 3e 0a 20 20 20 20 20 23 08 23 08 23 08 23 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 63 08 ┆> > # # # #i i i in n n nc ┆
0x0220…0240 63 08 63 08 63 6c 08 6c 08 6c 08 6c 75 08 75 08 75 08 75 64 08 64 08 64 08 64 65 08 65 08 65 08 ┆c c cl l l lu u u ud d d de e e ┆
0x0240…0260 65 20 3c 08 3c 08 3c 08 3c 73 08 73 08 73 08 73 79 08 79 08 79 08 79 73 08 73 08 73 08 73 2f 08 ┆e < < < <s s s sy y y ys s s s/ ┆
0x0260…0280 2f 08 2f 08 2f 73 08 73 08 73 08 73 6f 08 6f 08 6f 08 6f 63 08 63 08 63 08 63 6b 08 6b 08 6b 08 ┆/ / /s s s so o o oc c c ck k k ┆
0x0280…02a0 6b 65 08 65 08 65 08 65 74 08 74 08 74 08 74 2e 08 2e 08 2e 08 2e 68 08 68 08 68 08 68 3e 08 3e ┆ke e e et t t t. . . .h h h h> >┆
0x02a0…02c0 08 3e 08 3e 0a 20 20 20 20 20 23 08 23 08 23 08 23 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 63 ┆ > > # # # #i i i in n n nc┆
0x02c0…02e0 08 63 08 63 08 63 6c 08 6c 08 6c 08 6c 75 08 75 08 75 08 75 64 08 64 08 64 08 64 65 08 65 08 65 ┆ c c cl l l lu u u ud d d de e e┆
0x02e0…0300 08 65 20 3c 08 3c 08 3c 08 3c 6e 08 6e 08 6e 08 6e 65 08 65 08 65 08 65 74 08 74 08 74 08 74 2f ┆ e < < < <n n n ne e e et t t t/┆
0x0300…0320 08 2f 08 2f 08 2f 63 08 63 08 63 08 63 6f 08 6f 08 6f 08 6f 6e 08 6e 08 6e 08 6e 66 08 66 08 66 ┆ / / /c c c co o o on n n nf f f┆
0x0320…0340 08 66 69 08 69 08 69 08 69 67 08 67 08 67 08 67 2e 08 2e 08 2e 08 2e 68 08 68 08 68 08 68 3e 08 ┆ fi i i ig g g g. . . .h h h h> ┆
0x0340…0360 3e 08 3e 08 3e 0a 20 20 20 20 20 23 08 23 08 23 08 23 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e ┆> > > # # # #i i i in n n n┆
0x0360…0380 63 08 63 08 63 08 63 6c 08 6c 08 6c 08 6c 75 08 75 08 75 08 75 64 08 64 08 64 08 64 65 08 65 08 ┆c c c cl l l lu u u ud d d de e ┆
0x0380…03a0 65 08 65 20 3c 08 3c 08 3c 08 3c 6e 08 6e 08 6e 08 6e 65 08 65 08 65 08 65 74 08 74 08 74 08 74 ┆e e < < < <n n n ne e e et t t t┆
0x03a0…03c0 2f 08 2f 08 2f 08 2f 69 08 69 08 69 08 69 66 08 66 08 66 08 66 2e 08 2e 08 2e 08 2e 68 08 68 08 ┆/ / / /i i i if f f f. . . .h h ┆
0x03c0…03e0 68 08 68 3e 08 3e 08 3e 08 3e 0a 20 20 20 20 20 23 08 23 08 23 08 23 69 08 69 08 69 08 69 6e 08 ┆h h> > > > # # # #i i i in ┆
0x03e0…0400 6e 08 6e 08 6e 63 08 63 08 63 08 63 6c 08 6c 08 6c 08 6c 75 08 75 08 75 08 75 64 08 64 08 64 08 ┆n n nc c c cl l l lu u u ud d d ┆
0x0400…0420 64 65 08 65 08 65 08 65 20 3c 08 3c 08 3c 08 3c 6e 08 6e 08 6e 08 6e 65 08 65 08 65 08 65 74 08 ┆de e e e < < < <n n n ne e e et ┆
0x0420…0440 74 08 74 08 74 2f 08 2f 08 2f 08 2f 69 08 69 08 69 08 69 66 08 66 08 66 08 66 5f 08 5f 08 5f 08 ┆t t t/ / / /i i i if f f f_ _ _ ┆
0x0440…0460 5f 61 08 61 08 61 08 61 72 08 72 08 72 08 72 70 08 70 08 70 08 70 2e 08 2e 08 2e 08 2e 68 08 68 ┆_a a a ar r r rp p p p. . . .h h┆
0x0460…0480 08 68 08 68 3e 08 3e 08 3e 08 3e 0a 0a 44 08 44 08 44 08 44 45 08 45 08 45 08 45 53 08 53 08 53 ┆ h h> > > > D D D DE E E ES S S┆
0x0480…04a0 08 53 43 08 43 08 43 08 43 52 08 52 08 52 08 52 49 08 49 08 49 08 49 50 08 50 08 50 08 50 54 08 ┆ SC C C CR R R RI I I IP P P PT ┆
0x04a0…04c0 54 08 54 08 54 49 08 49 08 49 08 49 4f 08 4f 08 4f 08 4f 4e 08 4e 08 4e 08 4e 0a 20 20 20 20 20 ┆T T TI I I IO O O ON N N N ┆
0x04c0…04e0 41 52 50 20 69 73 20 61 20 70 72 6f 74 6f 63 6f 6c 20 75 73 65 64 20 74 6f 20 64 79 6e 61 6d 69 ┆ARP is a protocol used to dynami┆
0x04e0…0500 63 61 6c 6c 79 20 6d 61 70 20 62 65 74 77 65 65 6e 20 44 41 52 50 41 0a 20 20 20 20 20 49 6e 74 ┆cally map between DARPA Int┆
0x0500…0520 65 72 6e 65 74 20 61 6e 64 20 45 74 68 65 72 6e 65 74 20 61 64 64 72 65 73 73 65 73 2e 20 20 49 ┆ernet and Ethernet addresses. I┆
0x0520…0540 74 20 69 73 20 75 73 65 64 20 62 79 20 61 6c 6c 20 74 68 65 20 45 74 68 2d 0a 20 20 20 20 20 65 ┆t is used by all the Eth- e┆
0x0540…0560 72 6e 65 74 20 69 6e 74 65 72 66 61 63 65 20 64 72 69 76 65 72 73 2e 20 20 49 74 20 69 73 20 6e ┆rnet interface drivers. It is n┆
0x0560…0580 6f 74 20 73 70 65 63 69 66 69 63 20 74 6f 20 49 6e 74 65 72 6e 65 74 0a 20 20 20 20 20 70 72 6f ┆ot specific to Internet pro┆
0x0580…05a0 74 6f 63 6f 6c 73 20 6f 72 20 74 6f 20 45 74 68 65 72 6e 65 74 2c 20 62 75 74 20 74 68 69 73 20 ┆tocols or to Ethernet, but this ┆
0x05a0…05c0 69 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 20 63 75 72 72 65 6e 74 6c 79 0a 20 20 20 20 20 73 75 ┆implementation currently su┆
0x05c0…05e0 70 70 6f 72 74 73 20 6f 6e 6c 79 20 74 68 61 74 20 63 6f 6d 62 69 6e 61 74 69 6f 6e 2e 0a 0a 20 ┆pports only that combination. ┆
0x05e0…0600 20 20 20 20 41 52 50 20 63 61 63 68 65 73 20 49 6e 74 65 72 6e 65 74 2d 45 74 68 65 72 6e 65 74 ┆ ARP caches Internet-Ethernet┆
0x0600…0620 20 61 64 64 72 65 73 73 20 6d 61 70 70 69 6e 67 73 2e 20 20 57 68 65 6e 20 61 6e 0a 20 20 20 20 ┆ address mappings. When an ┆
0x0620…0640 20 69 6e 74 65 72 66 61 63 65 20 72 65 71 75 65 73 74 73 20 61 20 6d 61 70 70 69 6e 67 20 66 6f ┆ interface requests a mapping fo┆
0x0640…0660 72 20 61 6e 20 61 64 64 72 65 73 73 20 6e 6f 74 20 69 6e 20 74 68 65 0a 20 20 20 20 20 63 61 63 ┆r an address not in the cac┆
0x0660…0680 68 65 2c 20 41 52 50 20 71 75 65 75 65 73 20 74 68 65 20 6d 65 73 73 61 67 65 20 77 68 69 63 68 ┆he, ARP queues the message which┆
0x0680…06a0 20 72 65 71 75 69 72 65 73 20 74 68 65 20 6d 61 70 70 69 6e 67 20 61 6e 64 0a 20 20 20 20 20 62 ┆ requires the mapping and b┆
0x06a0…06c0 72 6f 61 64 63 61 73 74 73 20 61 20 6d 65 73 73 61 67 65 20 6f 6e 20 74 68 65 20 61 73 73 6f 63 ┆roadcasts a message on the assoc┆
0x06c0…06e0 69 61 74 65 64 20 6e 65 74 77 6f 72 6b 20 72 65 71 75 65 73 74 69 6e 67 0a 20 20 20 20 20 74 68 ┆iated network requesting th┆
0x06e0…0700 65 20 61 64 64 72 65 73 73 20 6d 61 70 70 69 6e 67 2e 20 20 49 66 20 61 20 72 65 73 70 6f 6e 73 ┆e address mapping. If a respons┆
0x0700…0720 65 20 69 73 20 70 72 6f 76 69 64 65 64 2c 20 74 68 65 20 6e 65 77 0a 20 20 20 20 20 6d 61 70 70 ┆e is provided, the new mapp┆
0x0720…0740 69 6e 67 20 69 73 20 63 61 63 68 65 64 20 61 6e 64 20 61 6e 79 20 70 65 6e 64 69 6e 67 20 6d 65 ┆ing is cached and any pending me┆
0x0740…0760 73 73 61 67 65 20 69 73 20 74 72 61 6e 73 6d 69 74 74 65 64 2e 0a 20 20 20 20 20 41 52 50 20 77 ┆ssage is transmitted. ARP w┆
0x0760…0780 69 6c 6c 20 71 75 65 75 65 20 61 74 20 6d 6f 73 74 20 6f 6e 65 20 70 61 63 6b 65 74 20 77 68 69 ┆ill queue at most one packet whi┆
0x0780…07a0 6c 65 20 77 61 69 74 69 6e 67 20 66 6f 72 20 61 20 6d 61 70 2d 0a 20 20 20 20 20 70 69 6e 67 20 ┆le waiting for a map- ping ┆
0x07a0…07c0 72 65 71 75 65 73 74 20 74 6f 20 62 65 20 72 65 73 70 6f 6e 64 65 64 20 74 6f 3b 20 6f 6e 6c 79 ┆request to be responded to; only┆
0x07c0…07e0 20 74 68 65 20 6d 6f 73 74 20 72 65 63 65 6e 74 6c 79 0a 20 20 20 20 20 60 60 74 72 61 6e 73 6d ┆ the most recently ``transm┆
0x07e0…0800 69 74 74 65 64 27 27 20 70 61 63 6b 65 74 20 69 73 20 6b 65 70 74 2e 0a 0a 20 20 20 20 20 54 6f ┆itted'' packet is kept. To┆
0x0800…0820 20 66 61 63 69 6c 69 74 61 74 65 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 73 20 77 69 74 68 20 ┆ facilitate communications with ┆
0x0820…0840 73 79 73 74 65 6d 73 20 77 68 69 63 68 20 64 6f 20 6e 6f 74 20 75 73 65 0a 20 20 20 20 20 41 52 ┆systems which do not use AR┆
0x0840…0860 50 2c 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 5f 08 69 5f 08 6f 5f 08 63 5f 08 74 5f 08 6c ┆P, the following _ i_ o_ c_ t_ l┆
0x0860…0880 20 63 61 6c 6c 73 20 61 72 65 20 70 72 6f 76 69 64 65 64 20 74 6f 20 65 6e 74 65 72 20 61 6e 64 ┆ calls are provided to enter and┆
0x0880…08a0 0a 20 20 20 20 20 64 65 6c 65 74 65 20 65 6e 74 72 69 65 73 20 69 6e 20 74 68 65 20 49 6e 74 65 ┆ delete entries in the Inte┆
0x08a0…08c0 72 6e 65 74 2d 74 6f 2d 45 74 68 65 72 6e 65 74 20 74 61 62 6c 65 73 2e 0a 0a 20 20 20 20 20 53 ┆rnet-to-Ethernet tables. S┆
0x08c0…08e0 49 4f 43 53 41 52 50 20 20 53 65 74 73 20 61 6e 20 41 52 50 20 65 6e 74 72 79 2e 0a 0a 20 20 20 ┆IOCSARP Sets an ARP entry. ┆
0x08e0…0900 20 20 53 49 4f 43 47 41 52 50 20 20 47 65 74 73 20 61 6e 20 41 52 50 20 65 6e 74 72 79 2e 0a 0a ┆ SIOCGARP Gets an ARP entry. ┆
0x0900…0920 20 20 20 20 20 53 49 4f 43 44 41 52 50 20 20 44 65 6c 65 74 65 73 20 61 6e 20 41 52 50 20 65 6e ┆ SIOCDARP Deletes an ARP en┆
0x0920…0940 74 72 79 2e 0a 0a 20 20 20 20 20 41 52 50 20 6d 61 6e 69 70 75 6c 61 74 69 6f 6e 73 20 6d 61 79 ┆try. ARP manipulations may┆
0x0940…0960 20 6f 6e 6c 79 20 62 65 20 63 61 72 72 69 65 64 20 6f 75 74 20 62 79 20 73 75 70 65 72 2d 75 73 ┆ only be carried out by super-us┆
0x0960…0980 65 72 2e 20 41 6c 6c 0a 20 20 20 20 20 72 65 71 75 65 73 74 73 20 74 61 6b 65 73 20 61 6e 20 61 ┆er. All requests takes an a┆
0x0980…09a0 72 70 72 65 71 20 73 74 72 75 63 74 75 72 65 20 61 73 20 69 74 73 20 70 61 72 61 6d 65 74 65 72 ┆rpreq structure as its parameter┆
0x09a0…09c0 2e 20 54 68 69 73 0a 20 20 20 20 20 73 74 72 75 63 74 75 72 65 20 68 61 73 20 74 68 65 20 66 6f ┆. This structure has the fo┆
0x09c0…09e0 72 6d 0a 0a 20 20 20 20 20 73 74 72 75 63 74 20 61 72 70 72 65 71 20 7b 0a 20 20 20 20 20 20 20 ┆rm struct arpreq { ┆
0x09e0…0a00 20 20 20 20 20 20 20 73 74 72 75 63 74 20 73 6f 63 6b 61 64 64 72 20 20 61 72 70 5f 70 61 3b 20 ┆ struct sockaddr arp_pa; ┆
0x0a00…0a20 20 2f 2a 20 70 72 6f 74 6f 63 6f 6c 20 61 64 64 72 65 73 73 20 2a 2f 0a 20 20 20 20 20 20 20 20 ┆ /* protocol address */ ┆
0x0a20…0a40 20 20 20 20 20 20 73 74 72 75 63 74 20 73 6f 63 6b 61 64 64 72 20 20 61 72 70 5f 68 61 3b 20 20 ┆ struct sockaddr arp_ha; ┆
0x0a40…0a60 2f 2a 20 68 61 72 64 77 61 72 65 20 61 64 64 72 65 73 73 20 2a 2f 0a 20 20 20 20 20 20 20 20 20 ┆/* hardware address */ ┆
0x0a60…0a80 20 20 20 20 20 69 6e 74 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 72 70 5f 66 6c 61 67 73 3b ┆ int arp_flags;┆
0x0a80…0aa0 20 2f 2a 20 66 6c 61 67 73 20 2a 2f 0a 20 20 20 20 20 7d 3b 0a 20 20 20 20 20 2f 2a 20 20 61 72 ┆ /* flags */ }; /* ar┆
0x0aa0…0ac0 70 5f 66 6c 61 67 73 20 66 69 65 6c 64 20 76 61 6c 75 65 73 20 2a 2f 0a 20 20 20 20 20 23 64 65 ┆p_flags field values */ #de┆
0x0ac0…0ae0 66 69 6e 65 20 20 41 54 46 5f 43 4f 4d 20 20 20 20 20 20 20 20 20 20 30 78 30 32 20 20 20 20 20 ┆fine ATF_COM 0x02 ┆
0x0ae0…0b00 2f 2a 20 63 6f 6d 70 6c 65 74 65 64 20 65 6e 74 72 79 20 28 61 72 70 5f 68 61 20 76 61 6c 69 64 ┆/* completed entry (arp_ha valid┆
0x0b00…0b20 29 20 2a 2f 0a 20 20 20 20 20 23 64 65 66 69 6e 65 20 20 41 54 46 5f 50 45 52 4d 20 20 20 20 20 ┆) */ #define ATF_PERM ┆
0x0b20…0b40 20 20 20 20 30 78 30 34 20 20 20 20 20 2f 2a 20 70 65 72 6d 61 6e 65 6e 74 20 65 6e 74 72 79 20 ┆ 0x04 /* permanent entry ┆
0x0b40…0b60 2a 2f 0a 20 20 20 20 20 23 64 65 66 69 6e 65 20 20 41 54 46 5f 50 55 42 4c 20 20 20 20 20 20 20 ┆*/ #define ATF_PUBL ┆
0x0b60…0b80 20 20 30 78 30 38 20 20 20 20 20 2f 2a 20 70 75 62 6c 69 73 68 20 28 72 65 73 70 6f 6e 64 20 66 ┆ 0x08 /* publish (respond f┆
0x0b80…0ba0 6f 72 20 6f 74 68 65 72 20 68 6f 73 74 29 20 2a 2f 0a 20 20 20 20 20 23 64 65 66 69 6e 65 20 20 ┆or other host) */ #define ┆
0x0ba0…0bc0 41 54 46 5f 55 53 45 54 52 41 49 4c 45 52 53 20 20 30 78 31 30 20 20 20 20 20 2f 2a 20 73 65 6e ┆ATF_USETRAILERS 0x10 /* sen┆
0x0bc0…0be0 64 20 74 72 61 69 6c 65 72 20 70 61 63 6b 65 74 73 20 74 6f 20 68 6f 73 74 20 2a 2f 0a 0a 0a 20 ┆d trailer packets to host */ ┆
0x0be0…0c00 20 20 20 20 54 68 65 20 61 64 64 72 65 73 73 20 66 61 6d 69 6c 79 20 66 6f 72 20 74 68 65 20 61 ┆ The address family for the a┆
0x0c00…0c20 72 70 5f 70 61 20 73 6f 63 6b 61 64 64 72 20 6d 75 73 74 20 62 65 20 41 46 5f 49 4e 45 54 3b 0a ┆rp_pa sockaddr must be AF_INET; ┆
0x0c20…0c40 20 20 20 20 20 66 6f 72 20 74 68 65 20 61 72 70 5f 68 61 20 73 6f 63 6b 61 64 64 72 20 69 74 20 ┆ for the arp_ha sockaddr it ┆
0x0c40…0c60 6d 75 73 74 20 62 65 20 41 46 5f 55 4e 53 50 45 43 2e 20 20 54 68 65 20 6f 6e 6c 79 20 66 6c 61 ┆must be AF_UNSPEC. The only fla┆
0x0c60…0c80 67 0a 20 20 20 20 20 62 69 74 73 20 77 68 69 63 68 20 6d 61 79 20 62 65 20 77 72 69 74 74 65 6e ┆g bits which may be written┆
0x0c80…0ca0 20 61 72 65 20 41 54 46 5f 50 45 52 4d 2c 20 41 54 46 5f 50 55 42 4c 20 61 6e 64 0a 20 20 20 20 ┆ are ATF_PERM, ATF_PUBL and ┆
0x0ca0…0cc0 20 41 54 46 5f 55 53 45 54 52 41 49 4c 45 52 53 2e 20 20 41 54 46 5f 50 45 52 4d 20 63 61 75 73 ┆ ATF_USETRAILERS. ATF_PERM caus┆
0x0cc0…0ce0 65 73 20 74 68 65 20 65 6e 74 72 79 20 74 6f 20 62 65 20 70 65 72 6d 61 6e 65 6e 74 0a 20 20 20 ┆es the entry to be permanent ┆
0x0ce0…0d00 20 20 69 66 20 74 68 65 20 69 6f 63 74 6c 20 63 61 6c 6c 20 73 75 63 63 65 65 64 73 2e 20 20 54 ┆ if the ioctl call succeeds. T┆
0x0d00…0d20 68 65 20 70 65 63 75 6c 69 61 72 20 6e 61 74 75 72 65 20 6f 66 20 74 68 65 20 41 52 50 0a 0a 0a ┆he peculiar nature of the ARP ┆
0x0d20…0d40 0a 0a 0a 0a 20 20 20 20 20 74 61 62 6c 65 73 20 6d 61 79 20 63 61 75 73 65 20 74 68 65 20 69 6f ┆ tables may cause the io┆
0x0d40…0d60 63 74 6c 20 74 6f 20 66 61 69 6c 20 69 66 20 6d 6f 72 65 20 74 68 61 6e 20 38 20 28 70 65 72 2d ┆ctl to fail if more than 8 (per-┆
0x0d60…0d80 0a 20 20 20 20 20 6d 61 6e 65 6e 74 29 20 49 6e 74 65 72 6e 65 74 20 68 6f 73 74 20 61 64 64 72 ┆ manent) Internet host addr┆
0x0d80…0da0 65 73 73 65 73 20 68 61 73 68 20 74 6f 20 74 68 65 20 73 61 6d 65 20 73 6c 6f 74 2e 0a 20 20 20 ┆esses hash to the same slot. ┆
0x0da0…0dc0 20 20 41 54 46 5f 50 55 42 4c 20 73 70 65 63 69 66 69 65 73 20 74 68 61 74 20 74 68 65 20 41 52 ┆ ATF_PUBL specifies that the AR┆
0x0dc0…0de0 50 20 63 6f 64 65 20 73 68 6f 75 6c 64 20 72 65 73 70 6f 6e 64 20 74 6f 20 41 52 50 0a 20 20 20 ┆P code should respond to ARP ┆
0x0de0…0e00 20 20 72 65 71 75 65 73 74 73 20 66 6f 72 20 74 68 65 20 69 6e 64 69 63 61 74 65 64 20 68 6f 73 ┆ requests for the indicated hos┆
0x0e00…0e20 74 20 63 6f 6d 69 6e 67 20 66 72 6f 6d 20 6f 74 68 65 72 20 6d 61 63 68 69 6e 65 73 2e 0a 20 20 ┆t coming from other machines. ┆
0x0e20…0e40 20 20 20 54 68 69 73 20 61 6c 6c 6f 77 73 20 61 20 68 6f 73 74 20 74 6f 20 61 63 74 20 61 73 20 ┆ This allows a host to act as ┆
0x0e40…0e60 61 6e 20 60 60 41 52 50 20 73 65 72 76 65 72 2c 27 27 20 77 68 69 63 68 20 6d 61 79 20 62 65 0a ┆an ``ARP server,'' which may be ┆
0x0e60…0e80 20 20 20 20 20 75 73 65 66 75 6c 20 69 6e 20 63 6f 6e 76 69 6e 63 69 6e 67 20 61 6e 20 41 52 50 ┆ useful in convincing an ARP┆
0x0e80…0ea0 2d 6f 6e 6c 79 20 6d 61 63 68 69 6e 65 20 74 6f 20 74 61 6c 6b 20 74 6f 20 61 20 6e 6f 6e 2d 0a ┆-only machine to talk to a non- ┆
0x0ea0…0ec0 20 20 20 20 20 41 52 50 20 6d 61 63 68 69 6e 65 2e 0a 0a 20 20 20 20 20 41 52 50 20 69 73 20 61 ┆ ARP machine. ARP is a┆
0x0ec0…0ee0 6c 73 6f 20 75 73 65 64 20 74 6f 20 6e 65 67 6f 74 69 61 74 65 20 74 68 65 20 75 73 65 20 6f 66 ┆lso used to negotiate the use of┆
0x0ee0…0f00 20 74 72 61 69 6c 65 72 20 49 50 20 65 6e 63 61 70 73 75 2d 0a 20 20 20 20 20 6c 61 74 69 6f 6e ┆ trailer IP encapsu- lation┆
0x0f00…0f20 73 3b 20 74 72 61 69 6c 65 72 73 20 61 72 65 20 61 6e 20 61 6c 74 65 72 6e 61 74 65 20 65 6e 63 ┆s; trailers are an alternate enc┆
0x0f20…0f40 61 70 73 75 6c 61 74 69 6f 6e 20 75 73 65 64 20 74 6f 0a 20 20 20 20 20 61 6c 6c 6f 77 20 65 66 ┆apsulation used to allow ef┆
0x0f40…0f60 66 69 63 69 65 6e 74 20 70 61 63 6b 65 74 20 61 6c 69 67 6e 6d 65 6e 74 20 66 6f 72 20 6c 61 72 ┆ficient packet alignment for lar┆
0x0f60…0f80 67 65 20 70 61 63 6b 65 74 73 20 64 65 73 70 69 74 65 0a 20 20 20 20 20 76 61 72 69 61 62 6c 65 ┆ge packets despite variable┆
0x0f80…0fa0 2d 73 69 7a 65 64 20 68 65 61 64 65 72 73 2e 20 20 48 6f 73 74 73 20 77 68 69 63 68 20 77 69 73 ┆-sized headers. Hosts which wis┆
0x0fa0…0fc0 68 20 74 6f 20 72 65 63 65 69 76 65 20 74 72 61 69 6c 65 72 0a 20 20 20 20 20 65 6e 63 61 70 73 ┆h to receive trailer encaps┆
0x0fc0…0fe0 75 6c 61 74 69 6f 6e 73 20 73 6f 20 69 6e 64 69 63 61 74 65 20 62 79 20 73 65 6e 64 69 6e 67 20 ┆ulations so indicate by sending ┆
0x0fe0…1000 67 72 61 74 75 69 74 6f 75 73 20 41 52 50 20 74 72 61 6e 73 2d 0a 20 20 20 20 20 6c 61 74 69 6f ┆gratuitous ARP trans- latio┆
0x1000…1020 6e 20 72 65 70 6c 69 65 73 20 61 6c 6f 6e 67 20 77 69 74 68 20 72 65 70 6c 69 65 73 20 74 6f 20 ┆n replies along with replies to ┆
0x1020…1040 49 50 20 72 65 71 75 65 73 74 73 3b 20 74 68 65 79 20 61 72 65 0a 20 20 20 20 20 61 6c 73 6f 20 ┆IP requests; they are also ┆
0x1040…1060 73 65 6e 74 20 69 6e 20 72 65 70 6c 79 20 74 6f 20 49 50 20 74 72 61 6e 73 6c 61 74 69 6f 6e 20 ┆sent in reply to IP translation ┆
0x1060…1080 72 65 70 6c 69 65 73 2e 20 20 54 68 65 20 6e 65 67 6f 74 69 61 2d 0a 20 20 20 20 20 74 69 6f 6e ┆replies. The negotia- tion┆
0x1080…10a0 20 69 73 20 74 68 75 73 20 66 75 6c 6c 79 20 73 79 6d 6d 65 74 72 69 63 61 6c 2c 20 69 6e 20 74 ┆ is thus fully symmetrical, in t┆
0x10a0…10c0 68 61 74 20 65 69 74 68 65 72 20 6f 72 20 62 6f 74 68 20 68 6f 73 74 73 0a 20 20 20 20 20 6d 61 ┆hat either or both hosts ma┆
0x10c0…10e0 79 20 72 65 71 75 65 73 74 20 74 72 61 69 6c 65 72 73 2e 20 20 54 68 65 20 41 54 46 5f 55 53 45 ┆y request trailers. The ATF_USE┆
0x10e0…1100 54 52 41 49 4c 45 52 53 20 66 6c 61 67 20 69 73 20 75 73 65 64 20 74 6f 0a 20 20 20 20 20 72 65 ┆TRAILERS flag is used to re┆
0x1100…1120 63 6f 72 64 20 74 68 65 20 72 65 63 65 69 70 74 20 6f 66 20 73 75 63 68 20 61 20 72 65 70 6c 79 ┆cord the receipt of such a reply┆
0x1120…1140 2c 20 61 6e 64 20 65 6e 61 62 6c 65 73 20 74 68 65 0a 20 20 20 20 20 74 72 61 6e 73 6d 69 73 73 ┆, and enables the transmiss┆
0x1140…1160 69 6f 6e 20 6f 66 20 74 72 61 69 6c 65 72 20 70 61 63 6b 65 74 73 20 74 6f 20 74 68 61 74 20 68 ┆ion of trailer packets to that h┆
0x1160…1180 6f 73 74 2e 0a 0a 20 20 20 20 20 41 52 50 20 77 61 74 63 68 65 73 20 70 61 73 73 69 76 65 6c 79 ┆ost. ARP watches passively┆
0x1180…11a0 20 66 6f 72 20 68 6f 73 74 73 20 69 6d 70 65 72 73 6f 6e 61 74 69 6e 67 20 74 68 65 20 6c 6f 63 ┆ for hosts impersonating the loc┆
0x11a0…11c0 61 6c 20 68 6f 73 74 0a 20 20 20 20 20 28 69 2e 65 2e 20 61 20 68 6f 73 74 20 77 68 69 63 68 20 ┆al host (i.e. a host which ┆
0x11c0…11e0 72 65 73 70 6f 6e 64 73 20 74 6f 20 61 6e 20 41 52 50 20 6d 61 70 70 69 6e 67 20 72 65 71 75 65 ┆responds to an ARP mapping reque┆
0x11e0…1200 73 74 20 66 6f 72 0a 20 20 20 20 20 74 68 65 20 6c 6f 63 61 6c 20 68 6f 73 74 27 73 20 61 64 64 ┆st for the local host's add┆
0x1200…1220 72 65 73 73 29 2e 0a 0a 53 08 53 08 53 08 53 45 08 45 08 45 08 45 45 08 45 08 45 08 45 20 41 08 ┆ress). S S S SE E E EE E E E A ┆
0x1220…1240 41 08 41 08 41 4c 08 4c 08 4c 08 4c 53 08 53 08 53 08 53 4f 08 4f 08 4f 08 4f 0a 20 20 20 20 20 ┆A A AL L L LS S S SO O O O ┆
0x1240…1260 44 65 76 69 63 65 73 20 61 6e 64 20 46 61 63 69 6c 69 74 69 65 73 20 28 34 29 3a 20 65 6e 2c 20 ┆Devices and Facilities (4): en, ┆
0x1260…1280 69 6e 65 74 0a 20 20 20 20 20 53 79 73 74 65 6d 20 4d 61 6e 61 67 65 72 20 43 6f 6d 6d 61 6e 64 ┆inet System Manager Command┆
0x1280…12a0 73 28 38 29 3a 20 61 72 70 2c 20 69 66 63 6f 6e 66 69 67 0a 20 20 20 20 20 60 60 41 6e 20 45 74 ┆s(8): arp, ifconfig ``An Et┆
0x12a0…12c0 68 65 72 6e 65 74 20 41 64 64 72 65 73 73 20 52 65 73 6f 6c 75 74 69 6f 6e 20 50 72 6f 74 6f 63 ┆hernet Address Resolution Protoc┆
0x12c0…12e0 6f 6c 2c 27 27 20 52 46 43 38 32 36 2c 20 44 61 76 65 0a 20 20 20 20 20 50 6c 75 6d 6d 65 72 2c ┆ol,'' RFC826, Dave Plummer,┆
0x12e0…1300 20 4e 65 74 77 6f 72 6b 20 49 6e 66 6f 72 6d 61 74 69 6f 6e 20 43 65 6e 74 65 72 2c 20 53 52 49 ┆ Network Information Center, SRI┆
0x1300…1320 2e 0a 20 20 20 20 20 60 60 54 72 61 69 6c 65 72 20 45 6e 63 61 70 73 75 6c 61 74 69 6f 6e 73 2c ┆. ``Trailer Encapsulations,┆
0x1320…1340 27 27 20 52 46 43 38 39 33 2c 20 53 2e 4a 2e 20 4c 65 66 66 6c 65 72 20 61 6e 64 20 4d 2e 4a 2e ┆'' RFC893, S.J. Leffler and M.J.┆
0x1340…1360 0a 20 20 20 20 20 4b 61 72 65 6c 73 2c 20 4e 65 74 77 6f 72 6b 20 49 6e 66 6f 72 6d 61 74 69 6f ┆ Karels, Network Informatio┆
0x1360…1380 6e 20 43 65 6e 74 65 72 2c 20 53 52 49 2e 0a 0a 44 65 63 65 6d 62 65 72 20 31 39 38 39 20 20 20 ┆n Center, SRI. December 1989 ┆
0x1380…13a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 54 58 20 50 72 6f 67 72 ┆ TX Progr┆
0x13a0…13c0 61 6d 6d 65 72 27 73 20 52 65 66 65 72 65 6e 63 65 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a ┆ammer's Reference ┆
0x13c0…13cd 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a ┆ ┆