Displaying 2 results from an estimated 2 matches for "mac_aton".
Did you mean:
hackaton
2007 Apr 18
0
[Bridge] BCP code ported to pppd 2.4.2
...variable is used to ensure that we don't
+ * run an bcp-up/down script while one is already running.
+ */
+static enum script_state {
+ s_down,
+ s_up,
+} bcp_script_state;
+static pid_t bcp_script_pid;
+
+/*
+ * Convert a MAC address from a string to an array of bytes.
+ */
+static int
+mac_aton(const char *cp, u_char *mac)
+{
+ unsigned int args[ETH_ALEN];
+ int n;
+
+ if (sscanf(cp, "%2x:%2x:%2x:%2x:%2x:%2x%n",
+ &args[0], &args[1], &args[2],
+ &args[3], &args[4], &args[5], &n) >= ETH_ALEN)
+ {
+ if (...
2007 Apr 18
7
[Bridge] (no subject)
Dear Sir,
I was trying to install bridge as we are installing
scps gateway in our testbed.This requires us to
install the bridge.
Our Linux version is 2.4.18 ~3 and we are using redhat
7.2
Please let me know which is the bridge I should
install and how to configure it.
Before configuring the bridge what I should check in
my configuration.
Thanks for your time,
Sincerely
Rama
=====
I hear