in6.c (126184) | in6.c (126264) |
---|---|
1/* $FreeBSD: head/sys/netinet6/in6.c 126184 2004-02-24 01:20:51Z cperciva $ */ | 1/* $FreeBSD: head/sys/netinet6/in6.c 126264 2004-02-26 04:27:55Z mlaier $ */ |
2/* $KAME: in6.c,v 1.259 2002/01/21 11:37:50 keiichi Exp $ */ 3 4/* 5 * Copyright (C) 1995, 1996, 1997, and 1998 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 --- 652 unchanged lines hidden (view full) --- 662 663 /* 664 * this might affect the status of autoconfigured 665 * addresses, that is, this address might make 666 * other addresses detached. 667 */ 668 pfxlist_onlink_check(); 669 } | 2/* $KAME: in6.c,v 1.259 2002/01/21 11:37:50 keiichi Exp $ */ 3 4/* 5 * Copyright (C) 1995, 1996, 1997, and 1998 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 --- 652 unchanged lines hidden (view full) --- 662 663 /* 664 * this might affect the status of autoconfigured 665 * addresses, that is, this address might make 666 * other addresses detached. 667 */ 668 pfxlist_onlink_check(); 669 } |
670 if (error == 0 && ia) 671 EVENTHANDLER_INVOKE(ifaddr_event, ifp); |
|
670 break; 671 } 672 673 case SIOCDIFADDR_IN6: 674 { 675 int i = 0; 676 struct nd_prefix pr0, *pr; 677 --- 31 unchanged lines hidden (view full) --- 709 pr->ndpr_refcnt == 1) || 710 ((ia->ia6_flags & IN6_IFF_AUTOCONF) == 0 && 711 pr->ndpr_refcnt == 0))) { 712 pr->ndpr_expire = 1; /* XXX: just for expiration */ 713 } 714 715 purgeaddr: 716 in6_purgeaddr(&ia->ia_ifa); | 672 break; 673 } 674 675 case SIOCDIFADDR_IN6: 676 { 677 int i = 0; 678 struct nd_prefix pr0, *pr; 679 --- 31 unchanged lines hidden (view full) --- 711 pr->ndpr_refcnt == 1) || 712 ((ia->ia6_flags & IN6_IFF_AUTOCONF) == 0 && 713 pr->ndpr_refcnt == 0))) { 714 pr->ndpr_expire = 1; /* XXX: just for expiration */ 715 } 716 717 purgeaddr: 718 in6_purgeaddr(&ia->ia_ifa); |
719 EVENTHANDLER_INVOKE(ifaddr_event, ifp); |
|
717 break; 718 } 719 720 default: 721 if (ifp == NULL || ifp->if_ioctl == 0) 722 return (EOPNOTSUPP); 723 return ((*ifp->if_ioctl)(ifp, cmd, data)); 724 } --- 1405 unchanged lines hidden --- | 720 break; 721 } 722 723 default: 724 if (ifp == NULL || ifp->if_ioctl == 0) 725 return (EOPNOTSUPP); 726 return ((*ifp->if_ioctl)(ifp, cmd, data)); 727 } --- 1405 unchanged lines hidden --- |