Changeset fd65489 in rtems


Ignore:
Timestamp:
05/27/05 15:21:48 (19 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
ef73cf30
Parents:
a8d7bab3
Message:

Remove BYTE_PACK.

Location:
cpukit/libnetworking/netinet
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libnetworking/netinet/if_ether.h

    ra8d7bab3 rfd65489  
    4141#include <net/if_arp.h>
    4242
    43 #ifndef BYTE_PACK
    44 #define BYTE_PACK __attribute__((packed))
    45 #endif
    46 
    4743#ifdef _KERNEL
    4844/*
     
    7268 */
    7369struct  ether_arp {
    74         struct  arphdr ea_hdr BYTE_PACK;        /* fixed-size header */
     70        struct  arphdr ea_hdr;                  /* fixed-size header */
    7571        u_char  arp_sha[ETHER_ADDR_LEN];        /* sender hardware address */
    7672        u_char  arp_spa[4];     /* sender protocol address */
     
    8379#define arp_pln ea_hdr.ar_pln
    8480#define arp_op  ea_hdr.ar_op
    85 
    8681
    8782struct sockaddr_inarp {
  • cpukit/libnetworking/netinet/ip_var.h

    ra8d7bab3 rfd65489  
    3737#ifndef _NETINET_IP_VAR_H_
    3838#define _NETINET_IP_VAR_H_
    39 
    40 #ifndef BYTE_PACK
    41 #define BYTE_PACK __attribute__((packed))
    42 #endif
    4339
    4440/*
     
    9187                                         * to avoid destroying tos;
    9288                                         * copied from (ip_off&IP_MF) */
    93         u_short ip_len BYTE_PACK;
    94         u_short ip_id BYTE_PACK;
    95         u_short ip_off BYTE_PACK;
     89        u_short ip_len;
     90        u_short ip_id;
     91        u_short ip_off;
    9692        u_char  ip_ttl;
    9793        u_char  ip_p;
    98         u_short ip_sum BYTE_PACK;
     94        u_short ip_sum;
    9995        struct  ipasfrag *ipf_next;     /* next fragment */
    10096        struct  ipasfrag *ipf_prev;     /* previous fragment */
     
    163159#define IP_ALLOWBROADCAST       SO_BROADCAST    /* can send broadcast packets */
    164160
     161struct ip;
    165162struct inpcb;
    166163struct route;
     164struct sockopt;
     165struct mbuf;
    167166
    168167extern struct   ipstat  ipstat;
Note: See TracChangeset for help on using the changeset viewer.