version 1.4.4.1, 2013/01/18 09:31:47
|
version 1.4.4.2, 2015/05/19 23:24:45
|
Line 297 _pkt_Send(int s, u_int seq, char flg, u_int crypted, u
|
Line 297 _pkt_Send(int s, u_int seq, char flg, u_int crypted, u
|
return ANSH_FLG_ERR; |
return ANSH_FLG_ERR; |
|
|
e->ether_type = ntohs(ANSH_ID); |
e->ether_type = ntohs(ANSH_ID); |
memcpy(e->ether_dhost, ea->ether_addr_octet, ETHER_ADDR_LEN); | memcpy(e->ether_dhost, ea->octet, ETHER_ADDR_LEN); |
hdr = (struct ansh_hdr*) (buf + ETHER_HDR_LEN); |
hdr = (struct ansh_hdr*) (buf + ETHER_HDR_LEN); |
pos = ((u_char*) hdr) + sizeof(struct ansh_hdr); |
pos = ((u_char*) hdr) + sizeof(struct ansh_hdr); |
|
|