@@ -127,8 +127,8 @@ shared_sources = files('''
127127 serialize.h
128128 sleep-config.c
129129 sleep-config.h
130- socket -protocol-list.c
131- socket -protocol-list.h
130+ ip -protocol-list.c
131+ ip -protocol-list.h
132132 spawn-ask-password-agent.c
133133 spawn-ask-password-agent.h
134134 spawn-polkit-agent.c
@@ -188,39 +188,39 @@ if conf.get('HAVE_KMOD') == 1
188188 shared_sources += files (' module-util.c' )
189189endif
190190
191- generate_socket_protocol_list = find_program (' generate-socket -protocol-list.sh' )
192- socket_protocol_list_txt = custom_target (
193- ' socket -protocol-list.txt' ,
194- output : ' socket -protocol-list.txt' ,
195- command : [generate_socket_protocol_list , cpp],
191+ generate_ip_protocol_list = find_program (' generate-ip -protocol-list.sh' )
192+ ip_protocol_list_txt = custom_target (
193+ ' ip -protocol-list.txt' ,
194+ output : ' ip -protocol-list.txt' ,
195+ command : [generate_ip_protocol_list , cpp],
196196 capture : true )
197197
198- fname = ' socket -protocol-from-name.gperf'
198+ fname = ' ip -protocol-from-name.gperf'
199199gperf_file = custom_target (
200200 fname,
201- input : socket_protocol_list_txt ,
201+ input : ip_protocol_list_txt ,
202202 output : fname,
203- command : [generate_gperfs, ' socket_protocol ' , ' IPPROTO_' , ' @INPUT@' ],
203+ command : [generate_gperfs, ' ip_protocol ' , ' IPPROTO_' , ' @INPUT@' ],
204204 capture : true )
205205
206- fname = ' socket -protocol-from-name.h'
206+ fname = ' ip -protocol-from-name.h'
207207target1 = custom_target (
208208 fname,
209209 input : gperf_file,
210210 output : fname,
211211 command : [gperf,
212212 ' -L' , ' ANSI-C' , ' -t' , ' --ignore-case' ,
213- ' -N' , ' lookup_socket_protocol ' ,
214- ' -H' , ' hash_socket_protocol_name ' ,
213+ ' -N' , ' lookup_ip_protocol ' ,
214+ ' -H' , ' hash_ip_protocol_name ' ,
215215 ' -p' , ' -C' ,
216216 ' @INPUT@' ],
217217 capture : true )
218218
219- fname = ' socket -protocol-to-name.h'
220- awkscript = ' socket -protocol-to-name.awk'
219+ fname = ' ip -protocol-to-name.h'
220+ awkscript = ' ip -protocol-to-name.awk'
221221target2 = custom_target (
222222 fname,
223- input : [awkscript, socket_protocol_list_txt ],
223+ input : [awkscript, ip_protocol_list_txt ],
224224 output : fname,
225225 command : [awk, ' -f' , ' @INPUT0@' , ' @INPUT1@' ],
226226 capture : true )
0 commit comments