Bug 66225 - [netgraph] [patch] extend ng_eiface(4) control messages
Summary: [netgraph] [patch] extend ng_eiface(4) control messages
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 5.2-CURRENT
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2004-05-03 22:00 UTC by Robin Breathe
Modified: 2017-12-31 22:34 UTC (History)
0 users

See Also:

ng_eiface.diff (5.70 KB, patch)
2004-05-03 22:00 UTC, Robin Breathe
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robin Breathe 2004-05-03 22:00:38 UTC
- Extend the ng_eiface(4) control message set with getifaddr, getifindex, getenaddr and setenaddr, c.f. ng_ether(4).
  Allows code to get a handle on the associated ngeth# interface, and change its properties without knowing the unit number.
- Renamed NGM_EIFACE_SET (set) to NGM_EIFACE_SET_ENADDR (setenaddr) for clarity, and to match ng_ether(4).
- Clean up some extraneous code.
- Increased max MTU to 9000.
- Document the new interfaces in ng_eiface.4.

Fix: Apply the following patch in /usr/src of -CURRENT.
Comment 1 Gleb Smirnoff 2004-05-04 09:12:42 UTC

  can you take a look at these threads:

  May be you have some ideas/comments on this. And note, that now
we have one more interface node ng_sppp and we are going to have
fifth - ng_atm.
  I think this more general solution is better. I haven't started writing it,
since I can't yet understand which approach described in above links, 
is prefered by developers.

P.S. You have forgot to bump NGM_EIFACE_COOKIE in your patch.
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2010-03-18 04:24:15 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-net

Over to maintainer(s).
Comment 3 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:06 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped