Setting the skb->mark field from application

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,
         Is it possible to set the skb->mark flied of the linux socket buffer from the application?

Suppose application is using the Raw socket of Ethernet interface and it sends and receive packets to that interface. However, application wants to set the skb->mark filed of the socket buffer which in turn is honoured by the ethernet driver. I could not find any option in the api "setsockopt" which will allow to set the skb->mark field.

Anybody having any idea if it can be done from the application?
thanks,
Vishwas S 
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux