Changes in uspace/srv/net/il/ip/ip.c [e417b96:19f857a] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/il/ip/ip.c
re417b96 r19f857a 893 893 struct sockaddr * addr; 894 894 size_t addrlen; 895 size_t prefix;896 size_t suffix;897 size_t content;898 895 ip_pseudo_header_ref header; 899 896 size_t headerlen; … … 927 924 ERROR_PROPAGATE(ip_get_route_req(0, IP_GET_PROTOCOL(call), addr, (socklen_t) addrlen, 928 925 &device_id, &header, &headerlen)); 929 IPC_SET_DEVICE(answer, device_id);930 IP_SET_HEADERLEN(answer, headerlen);926 *IPC_SET_DEVICE(answer) = device_id; 927 *IP_SET_HEADERLEN(answer) = headerlen; 931 928 *answer_count = 2; 932 929 if(! ERROR_OCCURRED(data_reply(&headerlen, sizeof(headerlen)))){ … … 936 933 return ERROR_CODE; 937 934 case NET_IL_PACKET_SPACE: 938 ERROR_PROPAGATE(ip_packet_size_message(IPC_GET_DEVICE(call), &addrlen, &prefix, &content, &suffix)); 939 IPC_SET_ADDR(answer, addrlen); 940 IPC_SET_PREFIX(answer, prefix); 941 IPC_SET_CONTENT(answer, content); 942 IPC_SET_SUFFIX(answer, suffix); 943 *answer_count = 4; 935 ERROR_PROPAGATE(ip_packet_size_message(IPC_GET_DEVICE(call), IPC_SET_ADDR(answer), IPC_SET_PREFIX(answer), IPC_SET_CONTENT(answer), IPC_SET_SUFFIX(answer))); 936 *answer_count = 3; 944 937 return EOK; 945 938 case NET_IL_MTU_CHANGED:
Note:
See TracChangeset
for help on using the changeset viewer.