Hi,
    I'm using the linux-lwip here i'm not able to receive the ppp packets,
whatever we are sending we receive the same data packets.please find the
following attached log and send me some proper solution.


Thanks & Regards,
Shivaraj
root@Harsha:/home/harsha/Documents/Pawan_Quectel/linux_lwip/Debug# ./linux_lwip 
ppp_fd:rx=5 tx=6
AT+CREG? command executed
reading buf=
+CREG: 0,1

OK

result:1
AT+CGDCONT=1,"IP","live.vodafone.in"

OK

netif: IP address of interface  set to 0.0.0.0

netif: netmask of interface  set to 255.255.255.255

netif: GW address of interface  set to 0.0.0.0

netif: added interface pp IP
 addr 
0.0.0.0
 netmask 
255.255.255.255
 gw 
0.0.0.0


lcp_init 364
upap_init 138
ppp phase changed[0]: phase=0

netif: setting default interface pp

ppp init is over 
ATD*99#
bytevalible 223

CONNECT 7200000
~�}#�!}!}!} }8}"}&} } } } }#}$�#}%}&�1��}'}"}(}"��~~�}#�!}!}!} }8}"}&} } } } 
}#}$�#}%}&�1��}'}"}(}"��~~�}#�!}!}!} }8}"}&} } } } 
}#}$�#}%}&�1��}'}"}(}"��~~�}#�!}!}!} }8}"}&} } } } }#}$�#}%}&�1��}'}"}(}"��~
ppp_connect[0]: holdoff=0

ppp phase changed[0]: phase=3

pppos_connect: unit 0: connecting

ppp_start[0]

ppp phase changed[0]: phase=6

lcp_open 408
lcp_lowerup 460
pppos_send_config[0]: out_accm=FF FF FF FF

ppp_send_config[0]

pppos_recv_config[0]: in_accm=FF FF FF FF

ppp_recv_config[0]

lcp_lowerup 472
fsm_lowerup 92
lcp_resetci 658
ppp: auth protocols:
 PAP=1


pbuf_alloc(length=24)

pbuf_alloc: allocated pbuf 0x632878

pbuf_alloc(length=24) == 0x632878

sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xa697346c> <pcomp> <accomp>]

pbuf_alloc(length=0)

pbuf_alloc: allocated pbuf 0x632760

pbuf_alloc(length=0) == 0x632760

write   ff 7d 23 c0 21 7d 21 7d 21 7d 20 7d 34 7d 22 7d 26 7d 20 7d 20 7d 20 7d 
20 7d 25 7d 26 a6 97 34 6c 7d 27 7d 22 7d 28 7d 22 bf 84 7e 

w:44 fd:6
pbuf_free(0x632760)

pbuf_free: deallocating 0x632760

pppos_write[0]: len=24

pbuf_free(0x632878)

pbuf_free: deallocating 0x632878

ppp_start[0]: finished

ppp connect over status_pp_connect :0
Init buffer:
ppp poll thread:
Init buffer:
c5:w:44 r:44 p:44 s:0 c:0
pppos_input     ff 7d 23 c0 21 7d 21 7d 21 7d 20 7d 34 7d 22 7d 26 7d 20 7d 20 
7d 20 7d 
20 7d 25 7d 26 a6 97 34 6c 7d 27 7d 22 7d 28 7d 22 bf 84 7e 

pppos_input[0]: got 44 bytes

pbuf_alloc(length=0)

pbuf_alloc: allocated pbuf 0x632878

pbuf_alloc(length=0) == 0x632878

rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xa697346c> <pcomp> <accomp>]

pbuf_header: old 0x632890 new 0x632892 (-2)

protocol c021
lcp_input 515
fsm_input 320
fsm_input 356 fsm code 1
pbuf_alloc(length=256)

pbuf_alloc: allocated pbuf 0x632760

pbuf_alloc(length=256) == 0x632760

pbuf_free(0x632760)

pbuf_free: deallocating 0x632760

pbuf_alloc(length=14)

pbuf_alloc: allocated pbuf 0x632760

pbuf_alloc(length=14) == 0x632760

sent [LCP ConfNak id=0x1 <magic 0x2b572cc0>]

pbuf_alloc(length=0)

pbuf_alloc: allocated pbuf 0x632648

pbuf_alloc(length=0) == 0x632648

write   ff 7d 23 c0 21 7d 23 7d 21 7d 20 7d 2a 7d 25 7d 26 2b 57 2c c0 f8 33 7e 

w:24 fd:6
pbuf_free(0x632648)

pbuf_free: deallocating 0x632648

pppos_write[0]: len=14

pbuf_free(0x632760)

pbuf_free: deallocating 0x632760

pbuf_free(0x632878)

pbuf_free: deallocating 0x632878

Init buffer:
c5:w:24 r:24 p:24 s:0 c:0
pppos_input     ff 7d 23 c0 21 7d 23 7d 21 7d 20 7d 2a 7d 25 7d 26 2b 57 2c c0 
f8 33 7e 

pppos_input[0]: got 24 bytes

pbuf_alloc(length=0)

pbuf_alloc: allocated pbuf 0x632878

pbuf_alloc(length=0) == 0x632878

rcvd [LCP ConfNak id=0x1 <magic 0x2b572cc0>]

pbuf_header: old 0x632890 new 0x632892 (-2)

protocol c021
lcp_input 515
fsm_input 320
fsm_input 356 fsm code 3
pbuf_alloc(length=24)

pbuf_alloc: allocated pbuf 0x632760

pbuf_alloc(length=24) == 0x632760

sent [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0x1f3d4b7f> <pcomp> <accomp>]

pbuf_alloc(length=0)

pbuf_alloc: allocated pbuf 0x632648

pbuf_alloc(length=0) == 0x632648

write   ff 7d 23 c0 21 7d 21 7d 22 7d 20 7d 34 7d 22 7d 26 7d 20 7d 20 7d 20 7d 
20 7d 25 7d 26 7d 3f 3d 4b 7f 7d 27 7d 22 7d 28 7d 22 d1 ee 7e 

w:45 fd:6
pbuf_free(0x632648)

pbuf_free: deallocating 0x632648

pppos_write[0]: len=24

pbuf_free(0x632760)

pbuf_free: deallocating 0x632760

pbuf_free(0x632878)

pbuf_free: deallocating 0x632878

Init buffer:
c5:w:45 r:45 p:45 s:0 c:0
pppos_input     ff 7d 23 c0 21 7d 21 7d 22 7d 20 7d 34 7d 22 7d 26 7d 20 7d 20 
7d 20 7d 
20 7d 25 7d 26 7d 3f 3d 4b 7f 7d 27 7d 22 7d 28 7d 22 d1 ee 7e 

pppos_input[0]: got 45 bytes

pbuf_alloc(length=0)

pbuf_alloc: allocated pbuf 0x632878

pbuf_alloc(length=0) == 0x632878

rcvd [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0x1f3d4b7f> <pcomp> <accomp>]

pbuf_header: old 0x632890 new 0x632892 (-2)

protocol c021
lcp_input 515
fsm_input 320
fsm_input 356 fsm code 1
pbuf_alloc(length=256)

pbuf_alloc: allocated pbuf 0x632760

pbuf_alloc(length=256) == 0x632760

pbuf_free(0x632760)

pbuf_free: deallocating 0x632760

pbuf_alloc(length=14)

pbuf_alloc: allocated pbuf 0x632760

pbuf_alloc(length=14) == 0x632760

sent [LCP ConfNak id=0x2 <magic 0x18addfe7>]

pbuf_alloc(length=0)

pbuf_alloc: allocated pbuf 0x632648

pbuf_alloc(length=0) == 0x632648

write   ff 7d 23 c0 21 7d 23 7d 22 7d 20 7d 2a 7d 25 7d 26 7d 38 ad df e7 53 70 
7e 

w:25 fd:6
pbuf_free(0x632648)

pbuf_free: deallocating 0x632648

pppos_write[0]: len=14

pbuf_free(0x632760)

pbuf_free: deallocating 0x632760

pbuf_free(0x632878)

pbuf_free: deallocating 0x632878

Init buffer:
c5:w:25 r:25 p:25 s:0 c:0
pppos_input     ff 7d 23 c0 21 7d 23 7d 22 7d 20 7d 2a 7d 25 7d 26 7d 38 ad df 
e7 53 70 
7e 

pppos_input[0]: got 25 bytes

pbuf_alloc(length=0)

pbuf_alloc: allocated pbuf 0x632878

pbuf_alloc(length=0) == 0x632878

rcvd [LCP ConfNak id=0x2 <magic 0x18addfe7>]

pbuf_header: old 0x632890 new 0x632892 (-2)

protocol c021
lcp_input 515
fsm_input 320
fsm_input 356 fsm code 3
pbuf_alloc(length=24)

pbuf_alloc: allocated pbuf 0x632760

pbuf_alloc(length=24) == 0x632760

sent [LCP ConfReq id=0x3 <asyncmap 0x0> <magic 0x8a70613> <pcomp> <accomp>]

pbuf_alloc(length=0)

pbuf_alloc: allocated pbuf 0x632648

pbuf_alloc(length=0) == 0x632648

write   ff 7d 23 c0 21 7d 21 7d 23 7d 20 7d 34 7d 22 7d 26 7d 20 7d 20 7d 20 7d 
20 7d 25 7d 26 7d 28 a7 7d 26 7d 33 7d 27 7d 22 7d 28 7d 22 e0 81 7e 

w:47 fd:6
pbuf_free(0x632648)

pbuf_free: deallocating 0x632648

pppos_write[0]: len=24

pbuf_free(0x632760)

pbuf_free: deallocating 0x632760

pbuf_free(0x632878)

pbuf_free: deallocating 0x632878

Init buffer:
c5:w:47 r:47 p:47 s:0 c:0
pppos_input     ff 7d 23 c0 21 7d 21 7d 23 7d 20 7d 34 7d 22 7d 26 7d 20 7d 20 
7d 20 7d 
20 7d 25 7d 26 7d 28 a7 7d 26 7d 33 7d 27 7d 22 7d 28 7d 22 e0 81 7e 

pppos_input[0]: got 47 bytes

pbuf_alloc(length=0)

pbuf_alloc: allocated pbuf 0x632878

pbuf_alloc(length=0) == 0x632878

rcvd [LCP ConfReq id=0x3 <asyncmap 0x0> <magic 0x8a70613> <pcomp> <accomp>]

pbuf_header: old 0x632890 new 0x632892 (-2)

protocol c021
lcp_input 515
fsm_input 320
fsm_input 356 fsm code 1
pbuf_alloc(length=256)

pbuf_alloc: allocated pbuf 0x632760

pbuf_alloc(length=256) == 0x632760

pbuf_free(0x632760)

pbuf_free: deallocating 0x632760

pbuf_alloc(length=14)

pbuf_alloc: allocated pbuf 0x632760

pbuf_alloc(length=14) == 0x632760

sent [LCP ConfNak id=0x3 <magic 0xbc09c631>]

pbuf_alloc(length=0)

pbuf_alloc: allocated pbuf 0x632648

pbuf_alloc(length=0) == 0x632648

write   ff 7d 23 c0 21 7d 23 7d 23 7d 20 7d 2a 7d 25 7d 26 bc 7d 29 c6 31 fb 70 
7e 

w:25 fd:6
pbuf_free(0x632648)

pbuf_free: deallocating 0x632648

pppos_write[0]: len=14

pbuf_free(0x632760)

pbuf_free: deallocating 0x632760

pbuf_free(0x632878)

pbuf_free: deallocating 0x632878

Init buffer:
c5:w:25 r:25 p:25 s:0 c:0
pppos_input     ff 7d 23 c0 21 7d 23 7d 23 7d 20 7d 2a 7d 25 7d 26 bc 7d 29 c6 
31 fb 70 
7e 

pppos_input[0]: got 25 bytes

pbuf_alloc(length=0)

pbuf_alloc: allocated pbuf 0x632878

pbuf_alloc(length=0) == 0x632878

rcvd [LCP ConfNak id=0x3 <magic 0xbc09c631>]

pbuf_header: old 0x632890 new 0x632892 (-2)

protocol c021
lcp_input 515
fsm_input 320
fsm_input 356 fsm code 3
pbuf_alloc(length=24)

pbuf_alloc: allocated pbuf 0x632760

pbuf_alloc(length=24) == 0x632760

sent [LCP ConfReq id=0x4 <asyncmap 0x0> <magic 0x3f2d2486> <pcomp> <accomp>]

pbuf_alloc(length=0)

pbuf_alloc: allocated pbuf 0x632648

pbuf_alloc(length=0) == 0x632648

write   ff 7d 23 c0 21 7d 21 7d 24 7d 20 7d 34 7d 22 7d 26 7d 20 7d 20 7d 20 7d 
20 7d 25 7d 26 3f 2d 24 86 7d 27 7d 22 7d 28 7d 22 97 ea 7e 

w:44 fd:6
pbuf_free(0x632648)

pbuf_free: deallocating 0x632648

pppos_write[0]: len=24

pbuf_free(0x632760)

pbuf_free: deallocating 0x632760

pbuf_free(0x632878)

pbuf_free: deallocating 0x632878

Init buffer:
c5:w:44 r:44 p:44 s:0 c:0
pppos_input     ff 7d 23 c0 21 7d 21 7d 24 7d 20 7d 34 7d 22 7d 26 7d 20 7d 20 
7d 20 7d 
20 7d 25 7d 26 3f 2d 24 86 7d 27 7d 22 7d 28 7d 22 97 ea 7e 

pppos_input[0]: got 44 bytes

pbuf_alloc(length=0)

pbuf_alloc: allocated pbuf 0x632878

pbuf_alloc(length=0) == 0x632878

rcvd [LCP ConfReq id=0x4 <asyncmap 0x0> <magic 0x3f2d2486> <pcomp> <accomp>]

pbuf_header: old 0x632890 new 0x632892 (-2)

protocol c021
lcp_input 515
fsm_input 320
fsm_input 356 fsm code 1
pbuf_alloc(length=256)

pbuf_alloc: allocated pbuf 0x632760

pbuf_alloc(length=256) == 0x632760

pbuf_free(0x632760)

pbuf_free: deallocating 0x632760

pbuf_alloc(length=14)

pbuf_alloc: allocated pbuf 0x632760

pbuf_alloc(length=14) == 0x632760

sent [LCP ConfNak id=0x4 <magic 0x63434104>]

pbuf_alloc(length=0)

pbuf_alloc: allocated pbuf 0x632648

pbuf_alloc(length=0) == 0x632648

write   ff 7d 23 c0 21 7d 23 7d 24 7d 20 7d 2a 7d 25 7d 26 63 43 41 7d 24 7d 5e 
7d 21 7e 

w:27 fd:6
pbuf_free(0x632648)

pbuf_free: deallocating 0x632648

pppos_write[0]: len=14

pbuf_free(0x632760)

pbuf_free: deallocating 0x632760

pbuf_free(0x632878)

pbuf_free: deallocating 0x632878

Init buffer:
c5:w:27 r:27 p:27 s:0 c:0
pppos_input     ff 7d 23 c0 21 7d 23 7d 24 7d 20 7d 2a 7d 25 7d 26 63 43 41 7d 
24 7d 5e 
7d 21 7e 

pppos_input[0]: got 27 bytes

pbuf_alloc(length=0)

pbuf_alloc: allocated pbuf 0x632878

pbuf_alloc(length=0) == 0x632878

rcvd [LCP ConfNak id=0x4 <magic 0x63434104>]

pbuf_header: old 0x632890 new 0x632892 (-2)

protocol c021
lcp_input 515
fsm_input 320
fsm_input 356 fsm code 3
pbuf_alloc(length=24)

pbuf_alloc: allocated pbuf 0x632760

pbuf_alloc(length=24) == 0x632760

sent [LCP ConfReq id=0x5 <asyncmap 0x0> <magic 0x7c6b5dd7> <pcomp> <accomp>]

pbuf_alloc(length=0)

pbuf_alloc: allocated pbuf 0x632648

pbuf_alloc(length=0) == 0x632648

write   ff 7d 23 c0 21 7d 21 7d 25 7d 20 7d 34 7d 22 7d 26 7d 20 7d 20 7d 20 7d 
20 7d 25 7d 26 7c 6b 5d d7 7d 27 7d 22 7d 28 7d 22 60 97 7e 

w:44 fd:6
pbuf_free(0x632648)

pbuf_free: deallocating 0x632648

pppos_write[0]: len=24

pbuf_free(0x632760)

pbuf_free: deallocating 0x632760

pbuf_free(0x632878)

pbuf_free: deallocating 0x632878

Init buffer:
c5:w:44 r:44 p:44 s:0 c:0
pppos_input     ff 7d 23 c0 21 7d 21 7d 25 7d 20 7d 34 7d 22 7d 26 7d 20 7d 20 
7d 20 7d 
20 7d 25 7d 26 7c 6b 5d d7 7d 27 7d 22 7d 28 7d 22 60 97 7e 

pppos_input[0]: got 44 bytes

pbuf_alloc(length=0)

pbuf_alloc: allocated pbuf 0x632878

pbuf_alloc(length=0) == 0x632878

rcvd [LCP ConfReq id=0x5 <asyncmap 0x0> <magic 0x7c6b5dd7> <pcomp> <accomp>]

pbuf_header: old 0x632890 new 0x632892 (-2)

protocol c021
lcp_input 515
fsm_input 320
fsm_input 356 fsm code 1
pbuf_alloc(length=256)

pbuf_alloc: allocated pbuf 0x632760

pbuf_alloc(length=256) == 0x632760

pbuf_free(0x632760)

pbuf_free: deallocating 0x632760

pbuf_alloc(length=14)

pbuf_alloc: allocated pbuf 0x632760

pbuf_alloc(length=14) == 0x632760

sent [LCP ConfNak id=0x5 <magic 0x49f5853e>]

pbuf_alloc(length=0)

pbuf_alloc: allocated pbuf 0x632648

pbuf_alloc(length=0) == 0x632648

write   ff 7d 23 c0 21 7d 23 7d 25 7d 20 7d 2a 7d 25 7d 26 49 f5 85 3e f6 70 7e 

w:24 fd:6
pbuf_free(0x632648)

pbuf_free: deallocating 0x632648

pppos_write[0]: len=14

pbuf_free(0x632760)

pbuf_free: deallocating 0x632760

pbuf_free(0x632878)

pbuf_free: deallocating 0x632878

Init buffer:
c5:w:24 r:24 p:24 s:0 c:0
pppos_input     ff 7d 23 c0 21 7d 23 7d 25 7d 20 7d 2a 7d 25 7d 26 49 f5 85 3e 
f6 70 7e 

pppos_input[0]: got 24 bytes

pbuf_alloc(length=0)

pbuf_alloc: allocated pbuf 0x632878

pbuf_alloc(length=0) == 0x632878

rcvd [LCP ConfNak id=0x5 <magic 0x49f5853e>]

pbuf_header: old 0x632890 new 0x632892 (-2)

protocol c021
lcp_input 515
fsm_input 320
fsm_input 356 fsm code 3
pbuf_alloc(length=24)

pbuf_alloc: allocated pbuf 0x632760

pbuf_alloc(length=24) == 0x632760

sent [LCP ConfReq id=0x6 <asyncmap 0x0> <magic 0xf4c591f7> <pcomp> <accomp>]

pbuf_alloc(length=0)

pbuf_alloc: allocated pbuf 0x632648

pbuf_alloc(length=0) == 0x632648

write   ff 7d 23 c0 21 7d 21 7d 26 7d 20 7d 34 7d 22 7d 26 7d 20 7d 20 7d 20 7d 
20 7d 25 7d 26 f4 c5 91 f7 7d 27 7d 22 7d 28 7d 22 5d f9 7e 

w:44 fd:6
pbuf_free(0x632648)

pbuf_free: deallocating 0x632648

pppos_write[0]: len=24

pbuf_free(0x632760)

pbuf_free: deallocating 0x632760

pbuf_free(0x632878)

pbuf_free: deallocating 0x632878

Init buffer:
c5:w:44 r:44 p:44 s:0 c:0
pppos_input     ff 7d 23 c0 21 7d 21 7d 26 7d 20 7d 34 7d 22 7d 26 7d 20 7d 20 
7d 20 7d 
20 7d 25 7d 26 f4 c5 91 f7 7d 27 7d 22 7d 28 7d 22 5d f9 7e 

pppos_input[0]: got 44 bytes

pbuf_alloc(length=0)

pbuf_alloc: allocated pbuf 0x632878

pbuf_alloc(length=0) == 0x632878

rcvd [LCP ConfReq id=0x6 <asyncmap 0x0> <magic 0xf4c591f7> <pcomp> <accomp>]

pbuf_header: old 0x632890 new 0x632892 (-2)

protocol c021
lcp_input 515
fsm_input 320
fsm_input 356 fsm code 1
pbuf_alloc(length=256)

pbuf_alloc: allocated pbuf 0x632760

pbuf_alloc(length=256) == 0x632760

pbuf_free(0x632760)

pbuf_free: deallocating 0x632760

pbuf_alloc(length=14)

pbuf_alloc: allocated pbuf 0x632760

pbuf_alloc(length=14) == 0x632760

sent [LCP ConfNak id=0x6 <magic 0xe066343f>]

pbuf_alloc(length=0)

pbuf_alloc: allocated pbuf 0x632648

pbuf_alloc(length=0) == 0x632648

write   ff 7d 23 c0 21 7d 23 7d 26 7d 20 7d 2a 7d 25 7d 26 e0 66 34 3f 8d a9 7e 

w:24 fd:6
pbuf_free(0x632648)

pbuf_free: deallocating 0x632648

pppos_write[0]: len=14

pbuf_free(0x632760)

pbuf_free: deallocating 0x632760

pbuf_free(0x632878)

pbuf_free: deallocating 0x632878

Init buffer:
c5:w:24 r:24 p:24 s:0 c:0
pppos_input     ff 7d 23 c0 21 7d 23 7d 26 7d 20 7d 2a 7d 25 7d 26 e0 66 34 3f 
8d a9 7e 

pppos_input[0]: got 24 bytes

pbuf_alloc(length=0)

pbuf_alloc: allocated pbuf 0x632878

pbuf_alloc(length=0) == 0x632878

rcvd [LCP ConfNak id=0x6 <magic 0xe066343f>]

pbuf_header: old 0x632890 new 0x632892 (-2)

protocol c021
lcp_input 515
fsm_input 320
fsm_input 356 fsm code 3
pbuf_alloc(length=24)

pbuf_alloc: allocated pbuf 0x632760

pbuf_alloc(length=24) == 0x632760

sent [LCP ConfReq id=0x7 <asyncmap 0x0> <magic 0x9434156d> <pcomp> <accomp>]

pbuf_alloc(length=0)

pbuf_alloc: allocated pbuf 0x632648

pbuf_alloc(length=0) == 0x632648

write   ff 7d 23 c0 21 7d 21 7d 27 7d 20 7d 34 7d 22 7d 26 7d 20 7d 20 7d 20 7d 
20 7d 25 7d 26 94 34 7d 35 6d 7d 27 7d 22 7d 28 7d 22 22 d6 7e 

w:45 fd:6
pbuf_free(0x632648)

pbuf_free: deallocating 0x632648

pppos_write[0]: len=24

pbuf_free(0x632760)

pbuf_free: deallocating 0x632760

pbuf_free(0x632878)

pbuf_free: deallocating 0x632878

Init buffer:
c5:w:45 r:45 p:45 s:0 c:0
pppos_input     ff 7d 23 c0 21 7d 21 7d 27 7d 20 7d 34 7d 22 7d 26 7d 20 7d 20 
7d 20 7d 
20 7d 25 7d 26 94 34 7d 35 6d 7d 27 7d 22 7d 28 7d 22 22 d6 7e 

pppos_input[0]: got 45 bytes

pbuf_alloc(length=0)

pbuf_alloc: allocated pbuf 0x632878

pbuf_alloc(length=0) == 0x632878

rcvd [LCP ConfReq id=0x7 <asyncmap 0x0> <magic 0x9434156d> <pcomp> <accomp>]

pbuf_header: old 0x632890 new 0x632892 (-2)

protocol c021
lcp_input 515
fsm_input 320
fsm_input 356 fsm code 1
pbuf_alloc(length=256)

pbuf_alloc: allocated pbuf 0x632760

pbuf_alloc(length=256) == 0x632760

pbuf_free(0x632760)

pbuf_free: deallocating 0x632760

pbuf_alloc(length=14)

pbuf_alloc: allocated pbuf 0x632760

pbuf_alloc(length=14) == 0x632760

sent [LCP ConfNak id=0x7 <magic 0xa881b27e>]

pbuf_alloc(length=0)

pbuf_alloc: allocated pbuf 0x632648

pbuf_alloc(length=0) == 0x632648

write   ff 7d 23 c0 21 7d 23 7d 27 7d 20 7d 2a 7d 25 7d 26 a8 81 b2 7d 5e 2a 7d 
39 7e 

w:26 fd:6
pbuf_free(0x632648)

pbuf_free: deallocating 0x632648

pppos_write[0]: len=14

pbuf_free(0x632760)

pbuf_free: deallocating 0x632760

pbuf_free(0x632878)

pbuf_free: deallocating 0x632878

Init buffer:
c5:w:26 r:26 p:26 s:0 c:0
pppos_input     ff 7d 23 c0 21 7d 23 7d 27 7d 20 7d 2a 7d 25 7d 26 a8 81 b2 7d 
5e 2a 7d 
39 7e 

pppos_input[0]: got 26 bytes

pbuf_alloc(length=0)

pbuf_alloc: allocated pbuf 0x632878

pbuf_alloc(length=0) == 0x632878

rcvd [LCP ConfNak id=0x7 <magic 0xa881b27e>]

pbuf_header: old 0x632890 new 0x632892 (-2)

protocol c021
lcp_input 515
fsm_input 320
fsm_input 356 fsm code 3
pbuf_alloc(length=24)

pbuf_alloc: allocated pbuf 0x632760

pbuf_alloc(length=24) == 0x632760

sent [LCP ConfReq id=0x8 <asyncmap 0x0> <magic 0xe061b65e> <pcomp> <accomp>]

pbuf_alloc(length=0)

pbuf_alloc: allocated pbuf 0x632648

pbuf_alloc(length=0) == 0x632648

write   ff 7d 23 c0 21 7d 21 7d 28 7d 20 7d 34 7d 22 7d 26 7d 20 7d 20 7d 20 7d 
20 7d 25 7d 26 e0 61 b6 5e 7d 27 7d 22 7d 28 7d 22 8b d5 7e 

w:44 fd:6
pbuf_free(0x632648)

pbuf_free: deallocating 0x632648

pppos_write[0]: len=24

pbuf_free(0x632760)

pbuf_free: deallocating 0x632760

pbuf_free(0x632878)

pbuf_free: deallocating 0x632878

Init buffer:
c5:w:44 r:44 p:44 s:0 c:0
pppos_input     ff 7d 23 c0 21 7d 21 7d 28 7d 20 7d 34 7d 22 7d 26 7d 20 7d 20 
7d 20 7d 
20 7d 25 7d 26 e0 61 b6 5e 7d 27 7d 22 7d 28 7d 22 8b d5 7e 

pppos_input[0]: got 44 bytes

pbuf_alloc(length=0)

pbuf_alloc: allocated pbuf 0x632878

pbuf_alloc(length=0) == 0x632878

rcvd [LCP ConfReq id=0x8 <asyncmap 0x0> <magic 0xe061b65e> <pcomp> <accomp>]

pbuf_header: old 0x632890 new 0x632892 (-2)

protocol c021
lcp_input 515
fsm_input 320
fsm_input 356 fsm code 1
pbuf_alloc(length=256)

pbuf_alloc: allocated pbuf 0x632760

pbuf_alloc(length=256) == 0x632760

pbuf_free(0x632760)

pbuf_free: deallocating 0x632760

pbuf_alloc(length=14)

pbuf_alloc: allocated pbuf 0x632760

pbuf_alloc(length=14) == 0x632760

sent [LCP ConfNak id=0x8 <magic 0xdcfd53dc>]

pbuf_alloc(length=0)

pbuf_alloc: allocated pbuf 0x632648

pbuf_alloc(length=0) == 0x632648

write   ff 7d 23 c0 21 7d 23 7d 28 7d 20 7d 2a 7d 25 7d 26 dc fd 53 dc 89 f4 7e 

w:24 fd:6
pbuf_free(0x632648)

pbuf_free: deallocating 0x632648

pppos_write[0]: len=14

pbuf_free(0x632760)

pbuf_free: deallocating 0x632760

pbuf_free(0x632878)

pbuf_free: deallocating 0x632878

Init buffer:
c5:w:24 r:24 p:24 s:0 c:0
pppos_input     ff 7d 23 c0 21 7d 23 7d 28 7d 20 7d 2a 7d 25 7d 26 dc fd 53 dc 
89 f4 7e 

pppos_input[0]: got 24 bytes

pbuf_alloc(length=0)

pbuf_alloc: allocated pbuf 0x632878

pbuf_alloc(length=0) == 0x632878

rcvd [LCP ConfNak id=0x8 <magic 0xdcfd53dc>]

pbuf_header: old 0x632890 new 0x632892 (-2)

protocol c021
lcp_input 515
fsm_input 320
fsm_input 356 fsm code 3
pbuf_alloc(length=24)

pbuf_alloc: allocated pbuf 0x632760

pbuf_alloc(length=24) == 0x632760

sent [LCP ConfReq id=0x9 <asyncmap 0x0> <magic 0x3ee790d0> <pcomp> <accomp>]

pbuf_alloc(length=0)

pbuf_alloc: allocated pbuf 0x632648

pbuf_alloc(length=0) == 0x632648

write   ff 7d 23 c0 21 7d 21 7d 29 7d 20 7d 34 7d 22 7d 26 7d 20 7d 20 7d 20 7d 
20 7d 25 7d 26 3e e7 90 d0 7d 27 7d 22 7d 28 7d 22 7d 23 2b 7e 

w:45 fd:6
pbuf_free(0x632648)

pbuf_free: deallocating 0x632648

pppos_write[0]: len=24

pbuf_free(0x632760)

pbuf_free: deallocating 0x632760

pbuf_free(0x632878)

pbuf_free: deallocating 0x632878

Init buffer:
c5:w:45 r:45 p:45 s:0 c:0
pppos_input     ff 7d 23 c0 21 7d 21 7d 29 7d 20 7d 34 7d 22 7d 26 7d 20 7d 20 
7d 20 7d 
20 7d 25 7d 26 3e e7 90 d0 7d 27 7d 22 7d 28 7d 22 7d 23 2b 7e 

pppos_input[0]: got 45 bytes

pbuf_alloc(length=0)

pbuf_alloc: allocated pbuf 0x632878

pbuf_alloc(length=0) == 0x632878

rcvd [LCP ConfReq id=0x9 <asyncmap 0x0> <magic 0x3ee790d0> <pcomp> <accomp>]

pbuf_header: old 0x632890 new 0x632892 (-2)

protocol c021
lcp_input 515
fsm_input 320
fsm_input 356 fsm code 1
pbuf_alloc(length=256)

pbuf_alloc: allocated pbuf 0x632760

pbuf_alloc(length=256) == 0x632760

pbuf_free(0x632760)

pbuf_free: deallocating 0x632760

pbuf_alloc(length=14)

pbuf_alloc: allocated pbuf 0x632760

pbuf_alloc(length=14) == 0x632760

sent [LCP ConfNak id=0x9 <magic 0xaa15cb88>]

pbuf_alloc(length=0)

pbuf_alloc: allocated pbuf 0x632648

pbuf_alloc(length=0) == 0x632648

write   ff 7d 23 c0 21 7d 23 7d 29 7d 20 7d 2a 7d 25 7d 26 aa 7d 35 cb 88 f4 a4 
7e 

w:25 fd:6
pbuf_free(0x632648)

pbuf_free: deallocating 0x632648

pppos_write[0]: len=14

pbuf_free(0x632760)

pbuf_free: deallocating 0x632760

pbuf_free(0x632878)

pbuf_free: deallocating 0x632878

Init buffer:
c5:w:25 r:25 p:25 s:0 c:0
pppos_input     ff 7d 23 c0 21 7d 23 7d 29 7d 20 7d 2a 7d 25 7d 26 aa 7d 35 cb 
88 f4 a4 
7e 

pppos_input[0]: got 25 bytes

pbuf_alloc(length=0)

pbuf_alloc: allocated pbuf 0x632878

pbuf_alloc(length=0) == 0x632878

rcvd [LCP ConfNak id=0x9 <magic 0xaa15cb88>]

pbuf_header: old 0x632890 new 0x632892 (-2)

protocol c021
lcp_input 515
fsm_input 320
fsm_input 356 fsm code 3
pbuf_alloc(length=24)

pbuf_alloc: allocated pbuf 0x632760

pbuf_alloc(length=24) == 0x632760

sent [LCP ConfReq id=0xa <asyncmap 0x0> <magic 0x4cc840e> <pcomp> <accomp>]

pbuf_alloc(length=0)

pbuf_alloc: allocated pbuf 0x632648

pbuf_alloc(length=0) == 0x632648

write   ff 7d 23 c0 21 7d 21 7d 2a 7d 20 7d 34 7d 22 7d 26 7d 20 7d 20 7d 20 7d 
20 7d 25 7d 26 7d 24 cc 84 7d 2e 7d 27 7d 22 7d 28 7d 22 7d 20 84 7e 

w:47 fd:6
pbuf_free(0x632648)

pbuf_free: deallocating 0x632648

pppos_write[0]: len=24

pbuf_free(0x632760)

pbuf_free: deallocating 0x632760

pbuf_free(0x632878)

pbuf_free: deallocating 0x632878

Init buffer:
c5:w:47 r:47 p:47 s:0 c:0
pppos_input     ff 7d 23 c0 21 7d 21 7d 2a 7d 20 7d 34 7d 22 7d 26 7d 20 7d 20 
7d 20 7d 
20 7d 25 7d 26 7d 24 cc 84 7d 2e 7d 27 7d 22 7d 28 7d 22 7d 20 84 7e 

pppos_input[0]: got 47 bytes

pbuf_alloc(length=0)

pbuf_alloc: allocated pbuf 0x632878

pbuf_alloc(length=0) == 0x632878

rcvd [LCP ConfReq id=0xa <asyncmap 0x0> <magic 0x4cc840e> <pcomp> <accomp>]

pbuf_header: old 0x632890 new 0x632892 (-2)

protocol c021
lcp_input 515
fsm_input 320
fsm_input 356 fsm code 1
pbuf_alloc(length=256)

pbuf_alloc: allocated pbuf 0x632760

pbuf_alloc(length=256) == 0x632760

pbuf_free(0x632760)

pbuf_free: deallocating 0x632760

pbuf_alloc(length=14)

pbuf_alloc: allocated pbuf 0x632760

pbuf_alloc(length=14) == 0x632760

sent [LCP ConfNak id=0xa <magic 0xab028367>]

pbuf_alloc(length=0)

pbuf_alloc: allocated pbuf 0x632648

pbuf_alloc(length=0) == 0x632648

write   ff 7d 23 c0 21 7d 23 7d 2a 7d 20 7d 2a 7d 25 7d 26 ab 7d 22 83 67 87 f0 
7e 

w:25 fd:6
pbuf_free(0x632648)

pbuf_free: deallocating 0x632648

pppos_write[0]: len=14

pbuf_free(0x632760)

pbuf_free: deallocating 0x632760

pbuf_free(0x632878)

pbuf_free: deallocating 0x632878

Init buffer:
c5:w:25 r:25 p:25 s:0 c:0
pppos_input     ff 7d 23 c0 21 7d 23 7d 2a 7d 20 7d 2a 7d 25 7d 26 ab 7d 22 83 
67 87 f0 
7e 

pppos_input[0]: got 25 bytes

pbuf_alloc(length=0)

pbuf_alloc: allocated pbuf 0x632878

pbuf_alloc(length=0) == 0x632878

rcvd [LCP ConfNak id=0xa <magic 0xab028367>]

pbuf_header: old 0x632890 new 0x632892 (-2)

protocol c021
lcp_input 515
fsm_input 320
fsm_input 356 fsm code 3
Serial line is looped back.

ppp phase changed[0]: phase=11

pbuf_alloc(length=25)

pbuf_alloc: allocated pbuf 0x632760

pbuf_alloc(length=25) == 0x632760

sent [LCP TermReq id=0xb "Loopback detected"]

pbuf_alloc(length=0)

pbuf_alloc: allocated pbuf 0x632648

pbuf_alloc(length=0) == 0x632648

write   ff 7d 23 c0 21 7d 25 7d 2b 7d 20 7d 35 4c 6f 6f 70 62 61 63 6b 20 64 65 
74 65 63 74 65 64 f7 a8 7e 

w:33 fd:6
pbuf_free(0x632648)

pbuf_free: deallocating 0x632648

pppos_write[0]: len=25

pbuf_free(0x632760)

pbuf_free: deallocating 0x632760

pbuf_free(0x632878)

pbuf_free: deallocating 0x632878

Init buffer:
c5:w:33 r:33 p:33 s:0 c:0
pppos_input     ff 7d 23 c0 21 7d 25 7d 2b 7d 20 7d 35 4c 6f 6f 70 62 61 63 6b 
20 64 65 
74 65 63 74 65 64 f7 a8 7e 

pppos_input[0]: got 33 bytes

pbuf_alloc(length=0)

pbuf_alloc: allocated pbuf 0x632878

pbuf_alloc(length=0) == 0x632878

rcvd [LCP TermReq id=0xb "Loopback detected"]

pbuf_header: old 0x632890 new 0x632892 (-2)

protocol c021
lcp_input 515
fsm_input 320
fsm_input 356 fsm code 5
pbuf_alloc(length=8)

pbuf_alloc: allocated pbuf 0x632760

pbuf_alloc(length=8) == 0x632760

sent [LCP TermAck id=0xb]

pbuf_alloc(length=0)

pbuf_alloc: allocated pbuf 0x632648

pbuf_alloc(length=0) == 0x632648

write   ff 7d 23 c0 21 7d 26 7d 2b 7d 20 7d 24 8a 91 7e 

w:16 fd:6
pbuf_free(0x632648)

pbuf_free: deallocating 0x632648

pppos_write[0]: len=8

pbuf_free(0x632760)

pbuf_free: deallocating 0x632760

pbuf_free(0x632878)

pbuf_free: deallocating 0x632878

Init buffer:
c5:w:16 r:16 p:16 s:0 c:0
pppos_input     ff 7d 23 c0 21 7d 26 7d 2b 7d 20 7d 24 8a 91 7e 

pppos_input[0]: got 16 bytes

pbuf_alloc(length=0)

pbuf_alloc: allocated pbuf 0x632878

pbuf_alloc(length=0) == 0x632878

rcvd [LCP TermAck id=0xb]

pbuf_header: old 0x632890 new 0x632892 (-2)

protocol c021
lcp_input 515
fsm_input 320
fsm_input 356 fsm code 6
ppp phase changed[0]: phase=12

Connection terminated.

ppp_link_terminated[0]

ppp_link_end[0]

ppp phase changed[0]: phase=0

status_cb: err = 12
status_cb: err = 12
status_cb: Loopback detected
ppp_link_terminated[0]: finished.

pbuf_free(0x632878)

pbuf_free: deallocating 0x632878

exit app:[1;5A^[[1;5A^[[1;5A^[[1;5A^C
signal caught:
root@Harsha:/home/harsha/Documents/Pawan_Quectel/linux_lwip/Debug# 

_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to