Deleted Added
full compact
ndp.c (122615) ndp.c (124241)
1/* $FreeBSD: head/usr.sbin/ndp/ndp.c 122615 2003-11-13 16:02:44Z ume $ */
1/* $FreeBSD: head/usr.sbin/ndp/ndp.c 124241 2004-01-08 07:25:04Z suz $ */
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

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

885 rtm->rtm_addrs |= RTA_GATEWAY;
886 if (expire_time) {
887 rtm->rtm_rmx.rmx_expire = expire_time;
888 rtm->rtm_inits = RTV_EXPIRE;
889 }
890 rtm->rtm_flags |= (RTF_HOST | RTF_STATIC);
891 if (rtm->rtm_flags & RTF_ANNOUNCE) {
892 rtm->rtm_flags &= ~RTF_HOST;
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

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

885 rtm->rtm_addrs |= RTA_GATEWAY;
886 if (expire_time) {
887 rtm->rtm_rmx.rmx_expire = expire_time;
888 rtm->rtm_inits = RTV_EXPIRE;
889 }
890 rtm->rtm_flags |= (RTF_HOST | RTF_STATIC);
891 if (rtm->rtm_flags & RTF_ANNOUNCE) {
892 rtm->rtm_flags &= ~RTF_HOST;
893 rtm->rtm_flags |= RTA_NETMASK;
893 rtm->rtm_addrs |= RTA_NETMASK;
894 }
895 /* FALLTHROUGH */
896 case RTM_GET:
897 rtm->rtm_addrs |= RTA_DST;
898 }
899#define NEXTADDR(w, s) \
900 if (rtm->rtm_addrs & (w)) { \
901 bcopy((char *)&s, cp, sizeof(s)); cp += sizeof(s);}

--- 680 unchanged lines hidden ---
894 }
895 /* FALLTHROUGH */
896 case RTM_GET:
897 rtm->rtm_addrs |= RTA_DST;
898 }
899#define NEXTADDR(w, s) \
900 if (rtm->rtm_addrs & (w)) { \
901 bcopy((char *)&s, cp, sizeof(s)); cp += sizeof(s);}

--- 680 unchanged lines hidden ---