OSDN Git Service

Add MS7619SE
[uclinux-h8/uClinux-dist.git] / user / ser / parser / case_sip.h
1 #ifndef CASE_SIP_H
2 #define CASE_SIP_H
3
4 #define atch_CASE                            \
5         switch(LOWER_DWORD(val)) {          \
6         case _atch_:                        \
7                 DBG("end of SIP-If-Match\n"); \
8                 hdr->type = HDR_SIPIFMATCH; \
9                 p += 4;                     \
10                 goto dc_end;                \
11         }
12
13
14 #define ifm_CASE                                \
15         switch(LOWER_DWORD(val)) {              \
16         case _ifm_:                             \
17                 DBG("middle of SIP-If-Match: yet=0x%04x\n",LOWER_DWORD(val)); \
18                 p += 4;                         \
19                 val = READ(p);                  \
20                 atch_CASE;                      \
21                 goto other;                     \
22         }
23                 
24 #define sip_CASE          \
25         DBG("beginning of SIP-If-Match: yet=0x%04x\n",LOWER_DWORD(val)); \
26         p += 4;           \
27         val = READ(p);    \
28         ifm_CASE;         \
29         goto other;
30
31 #endif /* CASE_SIP_H */