Changeset 3039:56455930dc5f in roaraudio


Ignore:
Timestamp:
11/25/09 16:47:54 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added option for jumbo frames

Location:
roard
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • roard/include/roard.h

    r2970 r3039  
    152152 } streams[ROAR_DIR_DIRIDS]; 
    153153 char * location; 
     154 size_t jumbo_mtu; 
    154155} * g_config; 
    155156 
  • roard/roard.c

    r2970 r3039  
    157157        "     --slp             - Enable OpenSLP support\n" 
    158158#endif 
     159        " --jumbo-mtu MTU       - Sets the MTU for Jumbo Packets\n" 
    159160        " -G  GROUP             - Sets the group for the UNIX Domain Socket, (default: %s)\n" 
    160161        "                         You need the permissions to change the GID\n" 
     
    13591360#endif 
    13601361 
     1362  } else if ( strcmp(k, "--jumbo-mtu") == 0 ) { 
     1363   g_config->jumbo_mtu = atoi(argv[++i]); 
     1364 
    13611365  } else if ( strcmp(k, "-G") == 0 ) { 
    13621366   sock_grp  = argv[++i]; 
Note: See TracChangeset for help on using the changeset viewer.