renamed a lot of cw_format_* to format_*

FossilOrigin-Name: 23ddf0840bc6910dc3ddf4f763ff9976441573173d8e669cc02cbc0520f12f00
This commit is contained in:
7u83@mail.ru
2016-03-12 08:28:35 +00:00
parent 10efce8ee2
commit 1dbb599802
13 changed files with 36 additions and 50 deletions

View File

@ -233,7 +233,7 @@ int cw_format_pkt(char *dst,int level,struct conn *conn, uint8_t * packet, int l
s+=sprintf(s," Flgs:");
s+=cw_format_hdr_flags(s,packet);
s+=format_hdr_flags(s,packet);
if (len<8)
goto abort;
@ -252,7 +252,7 @@ int cw_format_pkt(char *dst,int level,struct conn *conn, uint8_t * packet, int l
plen=10;
s+=sprintf(s," R-MAC:");
s+=cw_format_mac(s,cw_get_hdr_rmac_data(packet),plen);
s+=format_mac(s,cw_get_hdr_rmac_data(packet),plen);
if (rmac_len>10){
s+=sprintf(s," ... (len=%d)",rmac_len);
}