summaryrefslogtreecommitdiff
path: root/sys/netinet6/ip6_output.c
AgeCommit message (Collapse)Author
2003-10-01use random number generator to generate IPv6 fragment ID/flowlabel.Jun-ichiro itojun Hagino
cleanup IPv6 flowlabel handling. deraadt ok
2003-10-01correct m_cat misuse. i remember it was ok'ed by someone but don't remember ↵Jun-ichiro itojun Hagino
who...
2003-08-15change arguments to suser. suser now takes the process, and a flagsTed Unangst
argument. old cred only calls user suser_ucred. this will allow future work to more flexibly implement the idea of a root process. looks like something i saw in freebsd, but a little different. use of suser_ucred vs suser in file system code should be looked at again, for the moment semantics remain unchanged. review and input from art@ testing and further review miod@
2003-06-11- sync up MLD declaration with RFC3542 (s/MLD6/MLD/)Jun-ichiro itojun Hagino
- routing header declaration with RFC3542 (note: sizeof(ip6_rthdr0) has changed!) also, sync up with RFC2460 routing header definition (no "strict" source routing mode any more) part of advanced API update (RFC2292 -> 3542). markus, todd, millert, henning ok
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2002-10-31plug memory leak. from sam leffler. sync w/kameJun-ichiro itojun Hagino
2002-09-23correct length of PADN option before jumbo payload option. sync w/kameJun-ichiro itojun Hagino
deraadt ok
2002-09-11fix pointer signedness mixup. sync w/kameJun-ichiro itojun Hagino
2002-09-11KNF - return is not a function. sync w/kameJun-ichiro itojun Hagino
2002-06-09whitespace cleanupJun-ichiro itojun Hagino
2002-06-08use splnet for ipsecJun-ichiro itojun Hagino
2002-06-08splnet -> splsoftnet where appropriateJun-ichiro itojun Hagino
2002-06-08sync with latest KAME in6_ifaddr/prefix/default router manipulation.Jun-ichiro itojun Hagino
behavior changes: - two iocts used by ndp(8) are now obsolete (backward compat provided). use sysctl path instead. - lo0 does not get ::1 automatically. it will get ::1 when lo0 comes up.
2002-06-07move IPV6_CHECKSUM processing to ip6_raw_ctloutput(). bunch of KNFs.Jun-ichiro itojun Hagino
rip6 stats. sync w/kame
2002-06-07just for consistency/compatibility, have net.inet6.ip6.v6only sysctl MIB,Jun-ichiro itojun Hagino
as well as set/getsockopt(IPV6_V6ONLY).
2002-06-07styleJun-ichiro itojun Hagino
2002-06-07'fall through' is not a valid LINT keyword.Jun-ichiro itojun Hagino
2002-05-31do not try to update rmx_mtu if rmx_mtu == 0 (obey ifmtu)Jun-ichiro itojun Hagino
2002-05-29force fragment to minimum link MTU (1280) when needed (when PMTUD doesJun-ichiro itojun Hagino
not take effect) - like icmp6 responses or foo-over-IPv6 tunnel.
2002-05-29attach nd_ifinfo structure to if_afdata.Jun-ichiro itojun Hagino
split IPv6 MTU (advertised by RA) from real link MTU. sync with kame
2002-03-14First round of __P removal in sysTodd C. Miller
2002-01-21remove couple of #if 0'ed portion we will never useJun-ichiro itojun Hagino
2001-12-07whitespace/comment sync with kameJun-ichiro itojun Hagino
2001-11-30unifdef OLDIP6OUTPUTJun-ichiro itojun Hagino
2001-11-28typo in sockopt level name (ipsec6 related)Jun-ichiro itojun Hagino
2001-11-26add fastroute options similar to what is found in ipfjasoni
ok dhartmei@, frantzen@
2001-10-01reinitialize ip6_hdr pointer after pf_test; ok dhartmei@ (noticed afterjasoni
discussion with itojun on ip6_forward)
2001-09-25free mbuf when dropping a packet. ok dhartmei@ (also checked byjasoni
mcbride@countersiege.com)
2001-09-15IPv6 support from Ryan McBride (mcbride@countersiege.com)Mike Frantzen
2001-08-22IPCOMP policy stuff missed the last time roundNiklas Hallqvist
2001-08-22Add IPCOMP setsockopt policy controls. While here fix the other policies tooNiklas Hallqvist
2001-08-21Don't check for BYPASS options in PCB on ip_output/ip6_output --- thisAngelos D. Keromytis
is already done in ip_spd_lookup()
2001-06-27Get rid of M_COPY_* macros; either use M_MOVE_* or M_DUP_*, dependingAngelos D. Keromytis
on how macros should be treated. Code by fgsch@, ok by me and itojun@
2001-06-27Don't check cached TDBs on the PCB -- always call ipsp_spd_lookup();Angelos D. Keromytis
this simplifies the logic a bit.
2001-06-25If a PENDING_TDB tag is attached but no TDB is found, drop the packet.Angelos D. Keromytis
2001-06-25PENDING_TDB tag handling (same as ip_output)Angelos D. Keromytis
2001-06-25Don't double-clear M_PKTHDR/tags.Angelos D. Keromytis
2001-06-09No need for net/net_osdep.hAngelos D. Keromytis
2001-05-30Update for new prototypes.Angelos D. Keromytis
2001-05-28Remove unused code.Angelos D. Keromytis
2001-05-28Don't check for IPV6_ENCAPSULATED, no longer needed since we have the tags.Angelos D. Keromytis
2001-05-28Missed a DPRINTF().Angelos D. Keromytis
2001-05-28Use packet tags to detect loops, same as ip_output()Angelos D. Keromytis
2001-05-26Use m_tag_init() to initialize new mbuf m_pkthdr fields, rather thanAngelos D. Keromytis
having to change it every time.
2001-05-20Convert from tdbi to packet tags.Angelos D. Keromytis
2001-05-16No need to check M_WAIT/M_WAITOK malloc return values. (art@ ok)Hakan Olsson
2001-04-14Minor changes, preparing for real socket-attached TDBs; also, moreAngelos D. Keromytis
information will be stored in the TDB. ok ho@ provos@
2001-04-11disallow userland programs from specifying addresses with IPV6_PKTINFOJun-ichiro itojun Hagino
setsockopt, if: - the address is not verified by DAD (= not ready) - the address is an anycast address (= not permitted as source) sync with kame
2001-03-30enable FAKE_LOOPBACK_IF case by default.Jun-ichiro itojun Hagino
now traffic on loopback interface will be presented to bpf as normal wire format packet (without KAME scopeid in s6_addr16[1]). fix KAME PR 250 (host mistakenly accepts packets to fe80::x%lo0). sync with kame.
2001-03-28Allow tdbi's to appear in mbufs throughout the stack; this allowsAngelos D. Keromytis
security properties of the packets to be pushed up to the application (not done yet). Eventually, this will be turned into a packet attributes framework. Make sure tdbi's are free'd/cleared properly whenever drivers (or NFS) does weird things with mbufs.