LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-24-2014, 07:27 PM   #1
georgewhr
Member
 
Registered: Nov 2012
Location: SF Bay Area
Posts: 47

Rep: Reputation: Disabled
Is it possible to setup port priority in linux network stacks


Here is the scenario, once the transport layer receive packets from IP layer, it will forward packets to upper layer through sockets and port number. Is it possible to make a priroity queue which will store the packets and then forward those packets to application layer by a pre-set order?

For example, I have Http(80), SMTP(25), ssh(22) on transport layer, and what I want to do is put them in a queue and set http(80) higest priority to forward to higher level stacks, and then ssh, then smtp.
 
Old 02-24-2014, 07:57 PM   #2
whizje
Member
 
Registered: Sep 2008
Location: The Netherlands
Distribution: Slackware64 current
Posts: 594

Rep: Reputation: 141Reputation: 141
Yes traffic shaping Linux Advanced Routing & Traffic Control. Or a script The Wonder Shaper
 
1 members found this post helpful.
Old 02-27-2014, 01:46 PM   #3
georgewhr
Member
 
Registered: Nov 2012
Location: SF Bay Area
Posts: 47

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by whizje View Post
Hi, Thanks for the reply. I just checked struct sk_buff and there is a data in sk_buff called priority, sk_buff->priority. Do you know which layer this priority refers to? Or how this priority data variable works in linux network stacks?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bandwidth Shaping using QoS priority by address/port/Vlans techproblem Linux - General 7 01-26-2014 03:42 PM
using iptables to give upload priority to slingbox (port 5001) ufk Linux - Networking 1 03-19-2009 01:00 PM
4 port router. Does ip number determine priority? suguru Linux - Networking 1 01-23-2008 12:12 PM
HowDoI... setup a network port to print to PDF? lefty.crupps Linux - Networking 5 06-13-2007 03:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration