Deleted Added
full compact
in6.c (165287) in6.c (166938)
1/* $FreeBSD: head/sys/netinet6/in6.c 165287 2006-12-16 14:15:31Z bz $ */
1/* $FreeBSD: head/sys/netinet6/in6.c 166938 2007-02-24 11:38:47Z bms $ */
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

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

329 struct in6_ifaddr *ia = NULL;
330 struct in6_aliasreq *ifra = (struct in6_aliasreq *)data;
331 struct sockaddr_in6 *sa6;
332 int error;
333
334 switch (cmd) {
335 case SIOCGETSGCNT_IN6:
336 case SIOCGETMIFCNT_IN6:
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

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

329 struct in6_ifaddr *ia = NULL;
330 struct in6_aliasreq *ifra = (struct in6_aliasreq *)data;
331 struct sockaddr_in6 *sa6;
332 int error;
333
334 switch (cmd) {
335 case SIOCGETSGCNT_IN6:
336 case SIOCGETMIFCNT_IN6:
337 return (mrt6_ioctl(cmd, data));
337 return (mrt6_ioctl ? mrt6_ioctl(cmd, data) : EOPNOTSUPP);
338 }
339
340 switch(cmd) {
341 case SIOCAADDRCTL_POLICY:
342 case SIOCDADDRCTL_POLICY:
343 if (td != NULL) {
344 error = priv_check(td, PRIV_NETINET_ADDRCTRL6);
345 if (error)

--- 2058 unchanged lines hidden ---
338 }
339
340 switch(cmd) {
341 case SIOCAADDRCTL_POLICY:
342 case SIOCDADDRCTL_POLICY:
343 if (td != NULL) {
344 error = priv_check(td, PRIV_NETINET_ADDRCTRL6);
345 if (error)

--- 2058 unchanged lines hidden ---