tasklwIP - A Lightweight TCP/IP stack - Tasks: task #14494, Implement SO_BINDTODEVICE

 
 

You are not allowed to post comments on this tracker with your current authentication level.

task #14494: Implement SO_BINDTODEVICE

Submitter:  Simon Goldschmidt <goldsimon>
Submitted:  Fri 28 Apr 2017 10:46:37 AM UTC
   
 
Category:  None Should Start On:  Fri 28 Apr 2017 12:00:00 AM UTC
Should be Finished on:  Fri 28 Apr 2017 12:00:00 AM UTC Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  dziegel Percent Complete:  100%
Open/Closed:  Closed Planned Release:  None
Effort:  0.00

Thu 04 May 2017 07:09:29 AM UTC, comment #4: 

No, that doesn't fit our implementation, sorry. After all, only getsockopt is missing by now, your patch contains a full implementation.

Anyway, have you noticed that you don't need to compare the netif name but only the index?

Simon Goldschmidt <goldsimon>
Group administrator
Thu 04 May 2017 05:40:31 AM UTC, comment #3: 

Hi Simon,

I have patch to share which we used to add support for SO_BINDTODEVICE socket option in our stack.

The patch supports getsockopt(SO_BINDTODEVICE) also.

I have tested this support with multiple interfaces using (set/get)sockopt APIs.

Please review and check whether it is good for upstream merge.

(file #40577)

Sandip Dalvi <sandipd>
Wed 03 May 2017 07:15:39 PM UTC, comment #2: 

Let's drop getsockopt(SO_BINDTODEVICE) in order to reduce code size until somebody needs it.

I guess that means this is done...

Simon Goldschmidt <goldsimon>
Group administrator
Wed 03 May 2017 08:38:01 AM UTC, comment #1: 

Dirk nearly did this by now...

Simon Goldschmidt <goldsimon>
Group administrator
Fri 28 Apr 2017 10:46:37 AM UTC, original submission:  

Patches welcome :-)

Simon Goldschmidt <goldsimon>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by sandipd (Updated the item)
  • -email is unavailable- added by dziegel (Updated the item)
  • -email is unavailable- added by goldsimon (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-05-04 sandipd Attached File- Added 0001-sockets-task-14494-Implement-SO_BINDTODEVICE.patch, #40577
    2017-05-03 goldsimon StatusNone Done
        Percent Complete60% 100%
        Assigned toNone dziegel
        Open/ClosedOpen Closed
    2017-05-02 dziegel Percent Complete0% 60%

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code