print-arcnet.c (214478) | print-arcnet.c (235530) |
---|---|
1/* 2 * Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that: (1) source code distributions 7 * retain the above copyright notice and this paragraph in its entirety, (2) 8 * distributions including binary code include the above copyright notice and --- 251 unchanged lines hidden (view full) --- 260 261 case ARCTYPE_IP_OLD: 262 case ARCTYPE_IP: 263 ip_print(gndo, p, length); 264 return (1); 265 266#ifdef INET6 267 case ARCTYPE_INET6: | 1/* 2 * Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that: (1) source code distributions 7 * retain the above copyright notice and this paragraph in its entirety, (2) 8 * distributions including binary code include the above copyright notice and --- 251 unchanged lines hidden (view full) --- 260 261 case ARCTYPE_IP_OLD: 262 case ARCTYPE_IP: 263 ip_print(gndo, p, length); 264 return (1); 265 266#ifdef INET6 267 case ARCTYPE_INET6: |
268 ip6_print(p, length); | 268 ip6_print(gndo, p, length); |
269 return (1); 270#endif /*INET6*/ 271 272 case ARCTYPE_ARP_OLD: 273 case ARCTYPE_ARP: 274 case ARCTYPE_REVARP: | 269 return (1); 270#endif /*INET6*/ 271 272 case ARCTYPE_ARP_OLD: 273 case ARCTYPE_ARP: 274 case ARCTYPE_REVARP: |
275 arp_print(gndo, p, length, caplen); | 275 arp_print(gndo, p, length, caplen); |
276 return (1); 277 278 case ARCTYPE_ATALK: /* XXX was this ever used? */ 279 if (vflag) 280 fputs("et1 ", stdout); 281 atalk_print(p, length); 282 return (1); 283 --- 15 unchanged lines hidden --- | 276 return (1); 277 278 case ARCTYPE_ATALK: /* XXX was this ever used? */ 279 if (vflag) 280 fputs("et1 ", stdout); 281 atalk_print(p, length); 282 return (1); 283 --- 15 unchanged lines hidden --- |