summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/ip6_output.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Missed a DPRINTF().angelos2001-05-281-2/+1
|
* Use packet tags to detect loops, same as ip_output()angelos2001-05-281-9/+29
|
* Use m_tag_init() to initialize new mbuf m_pkthdr fields, rather thanangelos2001-05-261-2/+2
| | | | having to change it every time.
* Convert from tdbi to packet tags.angelos2001-05-201-2/+2
|
* No need to check M_WAIT/M_WAITOK malloc return values. (art@ ok)ho2001-05-161-7/+2
|
* Minor changes, preparing for real socket-attached TDBs; also, moreangelos2001-04-141-2/+3
| | | | information will be stored in the TDB. ok ho@ provos@
* disallow userland programs from specifying addresses with IPV6_PKTINFOitojun2001-04-111-2/+9
| | | | | | | setsockopt, if: - the address is not verified by DAD (= not ready) - the address is an anycast address (= not permitted as source) sync with kame
* enable FAKE_LOOPBACK_IF case by default.itojun2001-03-301-24/+10
| | | | | | | | | 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.
* Allow tdbi's to appear in mbufs throughout the stack; this allowsangelos2001-03-281-11/+16
| | | | | | | | | 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.
* re-initialize mopt in ip6_insert_jumboopt(). sync with kameitojun2001-03-251-3/+3
| | | | From: csapuntz@stanford.edu
* set rmx_mtu to L2 interface mtu, instead of 0, on mtudisc timeout.itojun2001-03-211-3/+6
| | | | ip6_output() change is for safety. sync with kame
* add/clearify spl for ipsec6. sync with kame. reviewed by angelos.itojun2001-03-131-3/+4
|
* get rid of #ifdef IPV6FIREWALL (never used, will never be used)itojun2001-02-161-53/+1
|
* cosmetic/comment sync with kameitojun2001-02-161-3/+2
|
* sync whitespace/comment with kame. to help merge tasksitojun2001-02-161-1/+5
|
* kill register declarations. to sync with kame better.itojun2001-02-161-11/+11
|
* witch raw ip6 socket code from NRL to kame.itojun2001-02-081-3/+3
| | | | makes upgrades/code sharing much easier.
* bad semicolon after "if" conditional.itojun2001-02-061-2/+2
|
* allow changing number of loopbacks in ukc.mickey2001-02-061-8/+4
| | | | | | change rest of the code to use lo0ifp pointing to the corresponding struct ifnet. itojun@ and niklas@ ok
* avoid panic when packet to nonexistent link-local address is issued.itojun2001-02-021-3/+16
| | | | kame 1.151 -> 1.152.
* nuke inp_flags bits for controlling IPv4 mapped address.itojun2000-10-111-12/+1
| | | | | we don't support IPv4 mapped address, and there are inconsistent bit manipulation code so it's safer to nuke them.
* Added files, and IPv6-IPsec update.angelos2000-09-191-20/+4
|
* repair IPv6 multicasting. INP_IPV6_MCAST is necessary.itojun2000-09-161-1/+12
| | | | (i will try to remove this flag bit later)
* - upgrade icmp6 node information query support to 06 draft.itojun2000-08-191-11/+37
| | | | | - pedant: possible alignment issue in ALIGN > 8 arch (should be okay for now) (sync with kame)
* confirmed interop of IPv6 AH with KAME (both global and scoped addr).itojun2000-06-201-8/+1
| | | | | | | | remove restriction on scoped IPv6 address. TODO: confirm it with other IPv6 AH implementation. since we use very similar logic between KAME IPv6 AH and OpenBSD IPv6 AH, it is possible that both side is making the same mistake or whatever
* initialize hoplimit field properly on ipsec6 caseitojun2000-06-201-1/+26
|
* IPv6 IPsec, outbound direction.itojun2000-06-191-51/+99
| | | | | | restriction: if there's any extension header (except fragment) and outbound packet matches tdb, we can't encrypt it. packet will not go out of the node (dropped).
* allow IPsec-related get/setsockopt on IPv6 socket. due to number conflictitojun2000-06-181-26/+183
| | | | | | | they must be IPV6_xx instead of IP_xx. actually, since in_ctloutput() does not check address family of inpcb, getsockopt(IPPROTO_IP, IP_xx) may work - never tested this.
* correct indentation for IPV6_PORTRANGEitojun2000-06-181-22/+22
|
* deep-copy ip6 header on ip6_mloopback, to avoid overwriting cluster mbuf.itojun2000-06-031-12/+47
| | | | | | correct frag header append operation. some cosmetic (like do {} while (0) to multiline macro) (sync with kame)
* correct "telnet fe80::1%lo0".itojun2000-05-191-3/+3
|
* never forward packet with link-local address.itojun2000-05-191-35/+63
| | | | | | experimental support for new loopback packet handling (with FAKE_LOOPBACK_IF, rcvif will be set to real outgoing interface, not the loopback, to honor scope) sync with kame.
* NULL != 0. from netbsd-current.itojun2000-05-191-2/+2
|
* fix include file path related to ip6.itojun2000-02-071-3/+3
|
* add missing IPV6_PORTRANGE case.itojun1999-12-201-1/+2
|
* Remove remaining unnecessary ifdefs (itojun will hate me for this :-)angelos1999-12-101-422/+8
|
* bring in KAME IPv6 code, dated 19991208.itojun1999-12-081-0/+2534
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).