Deleted Added
full compact
ndp.c (196866) ndp.c (197138)
1/* $FreeBSD: head/usr.sbin/ndp/ndp.c 196866 2009-09-05 16:51:51Z bz $ */
1/* $FreeBSD: head/usr.sbin/ndp/ndp.c 197138 2009-09-12 22:08:20Z hrs $ */
2/* $KAME: ndp.c,v 1.104 2003/06/27 07:48:39 itojun Exp $ */
3
4/*
5 * Copyright (C) 1995, 1996, 1997, 1998, and 1999 WIDE Project.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

--- 989 unchanged lines hidden (view full) ---

999 } \
1000 } while (0)
1001
1002 SETFLAG("disabled", ND6_IFF_IFDISABLED);
1003 SETFLAG("nud", ND6_IFF_PERFORMNUD);
1004#ifdef ND6_IFF_ACCEPT_RTADV
1005 SETFLAG("accept_rtadv", ND6_IFF_ACCEPT_RTADV);
1006#endif
2/* $KAME: ndp.c,v 1.104 2003/06/27 07:48:39 itojun Exp $ */
3
4/*
5 * Copyright (C) 1995, 1996, 1997, 1998, and 1999 WIDE Project.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

--- 989 unchanged lines hidden (view full) ---

999 } \
1000 } while (0)
1001
1002 SETFLAG("disabled", ND6_IFF_IFDISABLED);
1003 SETFLAG("nud", ND6_IFF_PERFORMNUD);
1004#ifdef ND6_IFF_ACCEPT_RTADV
1005 SETFLAG("accept_rtadv", ND6_IFF_ACCEPT_RTADV);
1006#endif
1007#ifdef ND6_IFF_AUTO_LINKLOCAL
1008 SETFLAG("auto_linklocal", ND6_IFF_AUTO_LINKLOCAL);
1009#endif
1007#ifdef ND6_IFF_PREFER_SOURCE
1008 SETFLAG("prefer_source", ND6_IFF_PREFER_SOURCE);
1009#endif
1010 SETVALUE("basereachable", ND.basereachable);
1011 SETVALUE("retrans", ND.retrans);
1012 SETVALUE("curhlim", ND.chlim);
1013
1014 ND.flags = newflags;

--- 56 unchanged lines hidden (view full) ---

1071 printf("disabled ");
1072#endif
1073 if ((ND.flags & ND6_IFF_PERFORMNUD))
1074 printf("nud ");
1075#ifdef ND6_IFF_ACCEPT_RTADV
1076 if ((ND.flags & ND6_IFF_ACCEPT_RTADV))
1077 printf("accept_rtadv ");
1078#endif
1010#ifdef ND6_IFF_PREFER_SOURCE
1011 SETFLAG("prefer_source", ND6_IFF_PREFER_SOURCE);
1012#endif
1013 SETVALUE("basereachable", ND.basereachable);
1014 SETVALUE("retrans", ND.retrans);
1015 SETVALUE("curhlim", ND.chlim);
1016
1017 ND.flags = newflags;

--- 56 unchanged lines hidden (view full) ---

1074 printf("disabled ");
1075#endif
1076 if ((ND.flags & ND6_IFF_PERFORMNUD))
1077 printf("nud ");
1078#ifdef ND6_IFF_ACCEPT_RTADV
1079 if ((ND.flags & ND6_IFF_ACCEPT_RTADV))
1080 printf("accept_rtadv ");
1081#endif
1082#ifdef ND6_IFF_AUTO_LINKLOCAL
1083 if ((ND.flags & ND6_IFF_AUTO_LINKLOCAL))
1084 printf("auto_linklocal ");
1085#endif
1079#ifdef ND6_IFF_PREFER_SOURCE
1080 if ((ND.flags & ND6_IFF_PREFER_SOURCE))
1081 printf("prefer_source ");
1082#endif
1083 }
1084 putc('\n', stdout);
1085#undef ND
1086

--- 545 unchanged lines hidden ---
1086#ifdef ND6_IFF_PREFER_SOURCE
1087 if ((ND.flags & ND6_IFF_PREFER_SOURCE))
1088 printf("prefer_source ");
1089#endif
1090 }
1091 putc('\n', stdout);
1092#undef ND
1093

--- 545 unchanged lines hidden ---