if_ether.c (33553d6e997f102da7a5f27d534b3ee57beb0a87) | if_ether.c (d10910e6cee0dca8be3d5a7fdbe404a15d9e7b52) |
---|---|
1/*- 2 * Copyright (c) 1982, 1986, 1988, 1993 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 the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 67 unchanged lines hidden (view full) --- 76#ifdef DEV_CARP 77#include <netinet/ip_carp.h> 78#endif 79 80#include <security/mac/mac_framework.h> 81 82#define SIN(s) ((struct sockaddr_in *)s) 83#define SDL(s) ((struct sockaddr_dl *)s) | 1/*- 2 * Copyright (c) 1982, 1986, 1988, 1993 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 the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 67 unchanged lines hidden (view full) --- 76#ifdef DEV_CARP 77#include <netinet/ip_carp.h> 78#endif 79 80#include <security/mac/mac_framework.h> 81 82#define SIN(s) ((struct sockaddr_in *)s) 83#define SDL(s) ((struct sockaddr_dl *)s) |
84#define LLTABLE(ifp) ((struct lltable *)(ifp)->if_afdata[AF_INET]) | 84#define LLTABLE(ifp) \ 85 ((struct in_ifinfo *)(ifp)->if_afdata[AF_INET])->ii_llt |
85 86SYSCTL_DECL(_net_link_ether); 87SYSCTL_NODE(_net_link_ether, PF_INET, inet, CTLFLAG_RW, 0, ""); 88 89/* timer values */ 90#ifdef VIMAGE_GLOBALS 91static int arpt_keep; /* once resolved, good for 20 more minutes */ 92static int arp_maxtries; --- 714 unchanged lines hidden --- | 86 87SYSCTL_DECL(_net_link_ether); 88SYSCTL_NODE(_net_link_ether, PF_INET, inet, CTLFLAG_RW, 0, ""); 89 90/* timer values */ 91#ifdef VIMAGE_GLOBALS 92static int arpt_keep; /* once resolved, good for 20 more minutes */ 93static int arp_maxtries; --- 714 unchanged lines hidden --- |