rjs
a72ef8c319
Change bzero -> memset, bcopy -> memcpy.
2017-05-07 21:36:23 +00:00
rjs
a36cc65452
Change SPL around call to in_pcbbind().
2017-05-07 21:24:37 +00:00
rjs
701c806a51
Remove some foreign conditional code, NFC intended.
2017-05-07 20:08:02 +00:00
ozaki-r
2495e7a0c7
Pass inpcb/in6pcb instead of socket to ip_output/ip6_output
...
- Passing a socket to Layer 3 is layer violation and even unnecessary
- The change makes codes of callers and IPsec a bit simple
2017-03-03 07:13:06 +00:00
christos
35561f6b22
ip6_sprintf -> IN6_PRINT so that we pass the size.
2017-01-16 15:44:46 +00:00
ryo
28f4c24cc2
Make ip6_sprintf(), in_fmtaddr(), lla_snprintf() and icmp6_redirect_diag() mpsafe.
...
Reviewed by ozaki-r@
2017-01-16 07:33:36 +00:00
ozaki-r
44375ea93d
Remove unnecessary inclusions of nd6.h
2016-12-13 08:29:03 +00:00
msaitoh
8bc54e5be6
KNF. Remove extra spaces. No functional change.
2016-07-07 06:55:38 +00:00
ozaki-r
d938d837b3
Introduce m_set_rcvif and m_reset_rcvif
...
The API is used to set (or reset) a received interface of a mbuf.
They are counterpart of m_get_rcvif, which will come in another
commit, hide internal of rcvif operation, and reduce the diff of
the upcoming change.
No functional change.
2016-06-10 13:27:10 +00:00
pooka
1c4a50f192
sprinkle _KERNEL_OPT
2015-08-24 22:21:26 +00:00
rtr
fd12cf39ee
make connect syscall use sockaddr_big and modify pr_{send,connect}
...
nam parameter type from buf * to sockaddr *.
final commit for parameter type changes to protocol user requests
* bump kernel version to 7.99.15 for parameter type changes to pr_{send,connect}
2015-05-02 17:18:03 +00:00
ozaki-r
2373b55abc
Introduce in6_selecthlim_rt to consolidate an idiom for rt->rt_ifp
...
It consolidates a scattered routine:
(rt = rtcache_validate(&in6p->in6p_route)) != NULL ? rt->rt_ifp : NULL
2015-04-27 02:59:44 +00:00
rtr
d2aa9dd71f
remove pr_generic from struct pr_usrreqs and all implementations of
...
pr_generic in protocols.
bump to 7.99.13
approved by rmind@
2015-04-26 21:40:48 +00:00
rtr
eddf3af3c6
make accept, getsockname and getpeername syscalls use sockaddr_big and modify
...
pr_{accept,sockname,peername} nam parameter type from mbuf * to sockaddr *.
* retained use of mbuftypes[MT_SONAME] for now.
* bump to netbsd version 7.99.12 for parameter type change.
patch posted to tech-net@ 2015/04/19
2015-04-24 22:32:37 +00:00
rtr
80ea8ccc7c
* update dccp_bind for struct mbuf * to struct sockaddr * parameter change
...
* pass NULL instead of casting 0 to a pointer when calling in_pcbbind()
2015-04-04 04:33:38 +00:00
rjs
652788239c
Add DCCP protocol support from KAME.
2015-02-10 19:11:52 +00:00