summaryrefslogtreecommitdiffstats
path: root/src/if.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2019-04-14 12:54:16 +0300
committerRoy Marples <roy@marples.name>2019-04-14 12:54:16 +0300
commit56c84b0a0f85f41d5885439546e32b36c301c387 (patch)
treea6b2e62b5de052b18784ae780393c2bb862bd4df /src/if.h
parentf802fb1da2b8ddae6a4754f8e91f944ce24cf0e2 (diff)
downloaddhcpcd-56c84b0a0f85f41d5885439546e32b36c301c387.tar.xz
sun: Fix carrier detection, MTU detection and plumbing
dhcpcd no longer needs ifconfig to do the initial plumbing.
Diffstat (limited to 'src/if.h')
-rw-r--r--src/if.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/if.h b/src/if.h
index 2f20764c..c8e406da 100644
--- a/src/if.h
+++ b/src/if.h
@@ -129,6 +129,9 @@ int if_domtu(const struct interface *, short int);
#define if_setmtu(ifp, mtu) if_domtu((ifp), (mtu))
int if_carrier(struct interface *);
+int if_carrier_os(struct interface *);
+int if_mtu_os(const struct interface *);
+
/*
* Helper to decode an interface name of bge0:1 to
* devname = bge0, drvname = bge0, ppa = 0, lun = 1.