Bug 66225

Summary: [netgraph] [patch] extend ng_eiface(4) control messages
Product: Base System Reporter: Robin Breathe <robin>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Open ---    
Severity: Affects Only Me Keywords: patch
Priority: Normal    
Version: 5.2-CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
ng_eiface.diff none

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
  Robin,

  can you take a look at these threads:
http://groups.google.com/groups?threadm=c2l47t%2413rc%241%40FreeBSD.csie.NCTU.edu.tw
http://groups.google.com/groups?threadm=c3etc5%2422b3%241%40FreeBSD.csie.NCTU.edu.tw

  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
Comment 4 Graham Perrin freebsd_committer freebsd_triage 2022-10-17 12:40:15 UTC
Keyword: 

    patch
or  patch-ready

– in lieu of summary line prefix: 

    [patch]

* bulk change for the keyword
* summary lines may be edited manually (not in bulk). 

Keyword descriptions and search interface: 

    <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>