summaryrefslogtreecommitdiff
path: root/sys/net/if_gif.c
AgeCommit message (Collapse)Author
2002-06-10easy error checks first.Jun-ichiro itojun Hagino
2002-06-09no need to log() on outgoing packet on !IFF_UP caseJun-ichiro itojun Hagino
2002-05-20Allow SIOCSIFMTU on gif interfaces.Artur Grabowski
From Mattias Amnefelt mattiasa at e.kth.se. niels@ ok.
2002-03-14First round of __P removal in sysTodd C. Miller
2001-07-27variable name "gif" is way too generic - use "gif_softc". sync with kameJun-ichiro itojun Hagino
2001-06-25Detect loops, itojun@ okAngelos D. Keromytis
2001-06-15change the meaning of ifnet.if_lastchange to meet RFC1573 ifLastChange.Jun-ichiro itojun Hagino
follows BSD/OS practice and ucd-snmp code (FreeBSD does it for specific interfaces only). was: if_lastchange get updated on every packet transmission/receipt. now: if_lastchange get updated when IFF_UP is changed.
2001-06-09Include cleanupAngelos D. Keromytis
2001-06-09These don't need net_osdep.hAngelos D. Keromytis
2001-06-04if_up() requires splnet(). sync with kameJun-ichiro itojun Hagino
2001-02-20provide SIOC[SG]LIFPHYADDR, which greatly simplify userland manipulation.Jun-ichiro itojun Hagino
sync with kame. old ioctls are kept but not really recommended.
2001-02-20use u_int32_t, not u_int, for DLT_NULL encapsulation. sync with kameJun-ichiro itojun Hagino
2001-02-06allow configuring gif ifaces; itojun@ okMichael Shalayeff
2000-12-31ifdef -> ifAngelos D. Keromytis
2000-12-31Fix non-INET6 caseAngelos D. Keromytis
2000-12-30Define gif_start(), which uses gif_output() with an AF_LINK sockaddrAngelos D. Keromytis
(to be used by the bridge) Also, mark the interface RUNNING as well as UP.
2000-10-07on SIOC*IFPHY*, validate args more correctly.Jun-ichiro itojun Hagino
2000-01-17don't need IFF_RUNNING for gif, as no resource is allocated forJun-ichiro itojun Hagino
interface operation.
2000-01-17remove IFF_RUNNING if it becomes !IFF_UP.Jun-ichiro itojun Hagino
pointed out by: deraadt
2000-01-12Remove gif_input() -- not needed anymore.Angelos D. Keromytis
2000-01-10Typos.Angelos D. Keromytis
2000-01-09Reduce calllimit from 10 to 3; this should avoid running out of stackAngelos D. Keromytis
when misconfiguring (jinmei@isl.rdc.toshiba.co.jp)
2000-01-07Cleanup ifdefsAngelos D. Keromytis
1999-12-08bring in KAME IPv6 code, dated 19991208.Jun-ichiro itojun Hagino
replaces NRL IPv6 layer. reuses NRL pcb layer. no IPsec-on-v6 support. see sys/netinet6/{TODO,IMPLEMENTATION} for more details. GENERIC configuration should work fine as before. GENERIC.v6 works fine as well, but you'll need KAME userland tools to play with IPv6 (will be bringed into soon).