summaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorGerhard Roth <gerhard@cvs.openbsd.org>2016-06-15 19:39:35 +0000
committerGerhard Roth <gerhard@cvs.openbsd.org>2016-06-15 19:39:35 +0000
commit740afea1ba43876bb2284939caee0cbd437c2000 (patch)
tree02fae890efc1d2c9b307df7c0ece196821fb93d5 /sys/netinet
parentcc42ca6d7d1d53491a1e00fa64040aec34e1859d (diff)
Add umb(4) - a driver for the Mobile Broadband Interface Model (MBIM)
The umb(4) driver provides support for USB MBIM devices. Those devices establish connections via celluar networks such as GPRS, UMTS, and LTE. ok mpi@ sthen@ additional feedback from deraadt@ jmc@ stsp@ kettenis@
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/in.h3
-rw-r--r--sys/netinet/in_var.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/netinet/in.h b/sys/netinet/in.h
index adb1b30e4d0..7859ca27614 100644
--- a/sys/netinet/in.h
+++ b/sys/netinet/in.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: in.h,v 1.115 2015/10/20 20:22:42 benno Exp $ */
+/* $OpenBSD: in.h,v 1.116 2016/06/15 19:39:34 gerhard Exp $ */
/* $NetBSD: in.h,v 1.20 1996/02/13 23:41:47 christos Exp $ */
/*
@@ -798,6 +798,7 @@ int in4_cksum(struct mbuf *, u_int8_t, int, int);
void in_proto_cksum_out(struct mbuf *, struct ifnet *);
void in_ifdetach(struct ifnet *);
int in_mask2len(struct in_addr *);
+void in_len2mask(struct in_addr *, int);
char *inet_ntoa(struct in_addr);
int inet_nat64(int, const void *, void *, const void *, u_int8_t);
diff --git a/sys/netinet/in_var.h b/sys/netinet/in_var.h
index 14a3a5938a8..a265580cd43 100644
--- a/sys/netinet/in_var.h
+++ b/sys/netinet/in_var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: in_var.h,v 1.38 2016/01/21 11:23:48 mpi Exp $ */
+/* $OpenBSD: in_var.h,v 1.39 2016/06/15 19:39:34 gerhard Exp $ */
/* $NetBSD: in_var.h,v 1.16 1996/02/13 23:42:15 christos Exp $ */
/*
@@ -157,6 +157,7 @@ void in_delmulti(struct in_multi *);
int in_hasmulti(struct in_addr *, struct ifnet *);
void in_ifscrub(struct ifnet *, struct in_ifaddr *);
int in_control(struct socket *, u_long, caddr_t, struct ifnet *);
+int in_ioctl(u_long, caddr_t, struct ifnet *, int);
void in_prefixlen2mask(struct in_addr *, int);
#endif